Interface SingleRowAction<Data>

Type Parameters

Hierarchy

  • CommonTableAction

    Hierarchy

    • SingleRowAction

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: ((data: Data, row: Row<Data>) => void)

Type declaration

    • (data: Data, row: Row<Data>): void
    • Callback executed when action is clicked.

      Parameters

      • data: Data
      • row: Row<Data>

      Returns void

tooltip?: string

Tooltip of the action

Generated using TypeDoc