Skip to content

Commit 2112780

Browse files
committed
chore: export useWatch in index directly
1 parent e2418c2 commit 2112780

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/index.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ RefForm.List = List;
3030
RefForm.useForm = useForm;
3131
RefForm.useWatch = useWatch;
3232

33-
export { FormInstance, Field, List, useForm, FormProvider, FormProps, FieldContext, ListContext };
33+
export {
34+
FormInstance,
35+
Field,
36+
List,
37+
useForm,
38+
FormProvider,
39+
FormProps,
40+
FieldContext,
41+
ListContext,
42+
useWatch,
43+
};
3444

3545
export default RefForm;

0 commit comments

Comments
 (0)