Interface TableAction<Data>

Type Parameters

Hierarchy

  • CommonTableAction

    Hierarchy

    • TableAction

Properties

children: ReactNode

Content of the action. Preferably an icon / icon+label / label.

disabled?: boolean

Action is disabled.

Default

false

id: string

Unique ID of each action.

onClick: ((instance: TableContext<Data>) => void)

Type declaration

    • (instance: TableContext<Data>): void
    • Callback executed when action is clicked.

      Parameters

      Returns void

tooltip?: string

Tooltip of the action

Generated using TypeDoc