ClickHouse/click-ui

`isActive` prop for Table component

Closed this issue · 0 comments

When a user opens the detail panel of a ClickPipe the table row should be highlighted. I can do this programmically by holding state of the active row in the parent component and setting in the row configuration. I'm also open to alternative approaches.

interface TableRowProps {
  $isSelectable?: boolean;
  $isDeleted?: boolean;
  $isDisabled?: boolean;
  $isActive?: boolean;
  $showActions?: boolean;
  $rowHeight?: string;
}

How it currently looks

Screenshot 2024-06-18 at 11 27 37

How it should look

Screenshot 2024-06-18 at 11 27 45