更新 src/App.tsx

This commit is contained in:
2024-11-11 16:31:24 +08:00
parent f15dff2c42
commit 5ea4531c0b

View File

@@ -13,7 +13,7 @@ const App: React.FC = () => {
[valueType]: renderFieldProps, [valueType]: renderFieldProps,
}} }}
> >
<Form initialValues={{ test_valuetype: 'aaa', test_comp: 'bbb' }}> <Form>
<Form.Item label="ValueType" name="test_valuetype" valueType={valueType} /> <Form.Item label="ValueType" name="test_valuetype" valueType={valueType} />
<Form.Item label="Children" name="test_comp"> <Form.Item label="Children" name="test_comp">
<Component /> <Component />