mirror of
https://github.com/gosticks/react-table.git
synced 2026-04-01 02:14:31 +00:00
fix: fix path getters, better plugin hook integration, renaming things
This commit is contained in:
@@ -65,7 +65,11 @@ function Table({ columns, data }) {
|
||||
{column.render('Header')}
|
||||
{/* Add a sort direction indicator */}
|
||||
<span>
|
||||
{column.sorted ? (column.sortedDesc ? ' 🔽' : ' 🔼') : ''}
|
||||
{column.isSorted
|
||||
? column.isSortedDesc
|
||||
? ' 🔽'
|
||||
: ' 🔼'
|
||||
: ''}
|
||||
</span>
|
||||
</th>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user