jbetancur / react-data-table-component

A responsive table library with built-in sorting, pagination, selection, expandable rows, and customizable styling.
https://react-data-table-component.netlify.app
Apache License 2.0
2.05k stars 413 forks source link

feat: exposing col sort state as CSS class #1145

Open david-ampsec opened 1 year ago

david-ampsec commented 1 year ago

Current implementation does not expose column sort state. The styling is hidden behind styled components. This PR adds an active_sort class to columns when using a custom sortIcon.

netlify[bot] commented 1 year ago

Deploy Preview for react-data-table-component ready!

Name Link
Latest commit 840afff1b8e800ae1bad1851aa60896cc6b763c8
Latest deploy log https://app.netlify.com/sites/react-data-table-component/deploys/648372e55678c100082e14f2
Deploy Preview https://deploy-preview-1145--react-data-table-component.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

land0r commented 10 months ago

@jbetancur hey, could you approve that pull request?