Interface MultiRowAction<Data>

Type Parameters

Hierarchy

  • CommonTableAction

    Hierarchy

    • MultiRowAction

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[], rows: Row<Data>[]) => void)

Type declaration

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

      Parameters

      • data: Data[]
      • rows: Row<Data>[]

      Returns void

tooltip?: string

Tooltip of the action

Generated using TypeDoc