table-sort-label
v4.9.10arrow_drop_downv4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
6,646
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
32 KB
A button based label for placing inside `TableCell` for column sorting.
Like
Install table-sort-label as a package?
Copied
npm i @bit/mui-org.material-ui.table-sort-label
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
A button based label for placing inside TableCell
for column sorting.
Demos:
API:
- TableSortLabel API
- inherits ButtonBase API
A button based label for placing inside TableCell
for column sorting.
Properties
Name | Type | Description |
---|---|---|
active | bool | If |
children | node | Label contents, the arrow will be appended automatically. |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
direction | 'asc' | 'desc' | The current sort direction. |
hideSortIcon | bool | Hide sort icon when active is false. |
IconComponent | elementType | Sort icon to use. |