Append tailwind classes on React Data Table's column headers

Viewed 733

I am planning to integrate my Tailwind CSS styles to a jbetancur React Data Table (see https://github.com/jbetancur/react-data-table-component) as a custom style.

I would like to put the TW classes inside the customStyles attribute of the Datatable so that I can put a custom style to its table headers, but I can't get it to work. So far this only accepts style objects.

0 Answers
Related