mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-04 21:19:27 +08:00
* refactor: 表格拆分模块化 * refactor: 表格拆分模块化 * refactor: code splitting of the table component (#120) * missing TableIndex * refactor: 表格拆分模块化 * code format Co-authored-by: chenos <chenlinxh@gmail.com>
17 lines
482 B
TypeScript
17 lines
482 B
TypeScript
import React from 'react';
|
|
import { observer } from '@formily/react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { useDesignable } from '..';
|
|
import { Table } from './Table';
|
|
|
|
export const TableOperation = observer((props: any) => {
|
|
const { designable, schema } = useDesignable();
|
|
const { t } = useTranslation();
|
|
return (
|
|
<div className={'nb-table-column'}>
|
|
{t('Operations')}
|
|
<Table.Operation.DesignableBar path={props.path} />
|
|
</div>
|
|
);
|
|
});
|