UNPKG

table-reuse

Version:

Common, reusable React UI components

15 lines (14 loc) 358 B
export type ClickAction = { label: string; onClick: () => void | Promise<void>; icon?: React.ReactNode; danger?: boolean; disabled?: boolean; type?: "primary" | "default" | "dashed" | "link" | "text"; confirm?: { title: string; description?: string; okText?: string; cancelText?: string; }; };