mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
style(table): 完善ts定义
This commit is contained in:
parent
54c8169c34
commit
595d3cc7ca
@ -19,7 +19,7 @@
|
|||||||
import { FormConfig, FormValue } from '@tmagic/form';
|
import { FormConfig, FormValue } from '@tmagic/form';
|
||||||
|
|
||||||
export interface ColumnActionConfig {
|
export interface ColumnActionConfig {
|
||||||
type?: 'delete' | 'copy' | 'edit';
|
type?: 'delete' | 'copy' | 'edit' | string;
|
||||||
buttonType?: string;
|
buttonType?: string;
|
||||||
display?: (row: any) => boolean;
|
display?: (row: any) => boolean;
|
||||||
text?: string | ((row: any) => string);
|
text?: string | ((row: any) => string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user