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

This commit is contained in:
gingervitis
2020-12-29 02:51:56 -08:00
committed by Gabe Kangas
parent f0e5bbae1f
commit 78db81a8eb
5 changed files with 189 additions and 58 deletions

View File

@@ -3,7 +3,7 @@
export interface TextFieldProps {
onUpdate: ({ fieldName, value }: UpdateArgs) => void;
fieldName: string;
value: string;
initialValue: string;
type: string;
}