glittershark / reactable

Fast, flexible, and simple data tables in React
glittershark.github.io/reactable
MIT License
1.51k stars 222 forks source link

Reactable optional add support Font Awesome Sort icons #367

Open claudioDcv opened 7 years ago

claudioDcv commented 7 years ago

please add support sorting font-awesome css



.reactable-header-sortable{
position:relative;
padding-right: 40px;
}

.reactable-header-sortable::before{
font: normal normal normal 14px/1 FontAwesome;
content: "\f0dc";
position: absolute;
top: 17px;
right: 15px;
color: #2196F3;
}
.reactable-header-sort-asc::before{
content: "\f0de";
color: #2196F3;
}
.reactable-header-sort-desc::before{
content: "\f0dd";
color: #2196F3;
}```
paddotk commented 7 years ago

I think you need to be a little more specific. How would you like the rows to be sorted?