TableRowStyleOptions
type TableRowStyleOptions = {
criteria: TableRowCriteria;
styles: StyleOptions;
};
Style configuration for table rows with conditional criteria Styles are applied to rows that match all specified criteria
Properties
criteria
criteria: TableRowCriteria;
Criteria to match for applying styles
Each key corresponds to a column in the table
and the value is a condition operator that must match
For example: { status: { eq: 'active' } }
styles
styles: StyleOptions;
Style properties to apply when criteria match