mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-06 22:19:25 +08:00
18 lines
492 B
TypeScript
18 lines
492 B
TypeScript
import React from 'react';
|
|
import { ActionInitializer } from '@nocobase/client';
|
|
|
|
export const BulkEditSubmitActionInitializer = (props) => {
|
|
const schema = {
|
|
title: '{{ t("Submit") }}',
|
|
'x-action': 'submit',
|
|
'x-component': 'Action',
|
|
'x-designer': 'Action.Designer',
|
|
'x-component-props': {
|
|
type: 'primary',
|
|
htmlType: 'submit',
|
|
useProps: '{{ useCustomizeBulkEditActionProps }}',
|
|
},
|
|
};
|
|
return <ActionInitializer {...props} schema={schema} />;
|
|
};
|