123
This commit is contained in:
22
pages/marketplaces/index.tsx
Normal file
22
pages/marketplaces/index.tsx
Normal file
@ -0,0 +1,22 @@
|
||||
import ObjectForm from '@/components/ObjectForm/ObjectForm';
|
||||
import { MarketplaceSchema } from '@/lib/client';
|
||||
import { zMarketplaceSchema } from '@/lib/client/zod.gen';
|
||||
|
||||
const MarketplacesPage = () => {
|
||||
return (
|
||||
<>
|
||||
<ObjectForm<MarketplaceSchema, typeof zMarketplaceSchema>
|
||||
schema={zMarketplaceSchema}
|
||||
includeKeys={['name']}
|
||||
onCreate={(marketplace) => {}}
|
||||
labels={{
|
||||
name: 'Название',
|
||||
authData: 'Данные для авторизации',
|
||||
}}
|
||||
/>
|
||||
{/*<MarketplacesTable />*/}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default MarketplacesPage;
|
||||
Reference in New Issue
Block a user