diff --git a/docs/examples/components/LabelField.tsx b/docs/examples/components/LabelField.tsx index 2790fa9e..2608f2bd 100644 --- a/docs/examples/components/LabelField.tsx +++ b/docs/examples/components/LabelField.tsx @@ -1,11 +1,16 @@ import * as React from 'react'; import Form from 'rc-field-form'; -import { FieldProps } from '@/Field'; +import type { FieldProps } from '@/Field'; const { Field } = Form; -const Error = ({ children }) => ( -