Skip to main content

TableSortLabel

Used inside of a TableHeader's TableCell. Provides onClick handlers and sort UI. This component is automatically added to any <TableCell /> that uses the sortable prop.

See the Table example for more details.

Analytics

The TableSortLabel component is trackable through Kyber Analytics. This is the default analytics config.

export default {
value: 'Sort',
actions: {
onClick: { type: 'TABLESORTLABEL_CLICK', payload: 'Click' },
},
};

Props