From a90aa25b1b6fa3a602917ebf2bb901cd7ce515cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Mon, 17 Feb 2020 15:28:23 +0800 Subject: [PATCH] chore: Export Rule interface (#21411) --- components/form/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/form/index.tsx b/components/form/index.tsx index 9a249ba7ff..021a763086 100644 --- a/components/form/index.tsx +++ b/components/form/index.tsx @@ -1,3 +1,4 @@ +import { Rule } from 'rc-field-form/lib/interface'; import InternalForm, { useForm, FormInstance, FormProps } from './Form'; import Item, { FormItemProps } from './FormItem'; import List from './FormList'; @@ -29,6 +30,6 @@ Form.create = () => { ); }; -export { FormInstance, FormProps, FormItemProps }; +export { FormInstance, FormProps, FormItemProps, Rule }; export default Form;