App.tsx
486 Bytes
import { useMemo } from 'react';
import AddTags from '@/hr/add_tags';
import { FormProvider } from '@formily/react';
import { createForm } from '@formily/core';
import SearchWrap from '@/hr/search/search';
import InputField from '@/hr/antd_input';
const App = () => {
const form = useMemo(() => createForm(), []);
return (
<FormProvider form={form}>
<SearchWrap leftSectionComponents={[<InputField.text name="123" />]} />
</FormProvider>
);
};
export default App;