pass field resetter and initial values as props down to custom input element

This commit is contained in:
gingervitis
2021-01-24 13:05:43 -08:00
committed by Gabe Kangas
parent f0e5bbae1f
commit 78db81a8eb
5 changed files with 189 additions and 58 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
export interface TextFieldProps {
onUpdate: ({ fieldName, value }: UpdateArgs) => void;
fieldName: string;
value: string;
initialValue: string;
type: string;
}