export declare type Action = { /** * @description 操作项id, 操作项英文 */ value: string | number; /** * @description 操作项显示的文本 */ text: string; /** * @description 禁用操作项 */ disabled?: boolean; /** * @description 是否需要二次确认操作 */ shouldPopconfirm?: boolean; /** * @description 二次操作的标题 */ popConfirmTitle?: string; /** * @description 具体操作处理函数 */ action: () => void; /** * @description 文案颜色 * @default #4a86ff */ color?: string; }; export interface TableActionsProps { /** * @description 操作项列表 */ actions: Action[]; /** * @description 操作项间距(已废弃) * @default 16 */ gap?: number; } export declare const Action: (props: Action) => null; declare const _default: (props: TableActionsProps) => null; export default _default;