#Strategy for passing useForm input props to child components? (Mantine 7 w/ TS)

2 messages · Page 1 of 1 (latest)

wraith pollen
#

Couldn't find an example or solution in the docs. Is there an clean/efficient way to pass form input props to child components containing form inputs? The return type of getInputProps() is:

{ value: any; onChange: any; checked?: any; error?: any; onFocus?: any; onBlur?: any; }

Is this the type that should be passed to child components?