-
-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Description
Did not found a documented way to type the store values. Was expecting this API (what's used by react-hook-form):
type FormValues = {
email: string;
password: string;
};
const LoginForm: FunctionComponent<Props> = ({history}) => {
const [form] = Form.useForm<FormValues>();
However useForm
does not seem to accept a generic type.
Is there another way to type a form store or do you have another API in mind?
ghmendonca, huangyl15, Heshiyu1996, rpmonteiro, MYKEU and 18 moredpyzo0o, jayprado, sterba-tech, enclairfarron and lukasluecke
Metadata
Metadata
Assignees
Labels
No labels