Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(
<th className={classnames(
'datatable__cell whitespace-no-wrap',
className,
{
'text-primary': sorted,
'cursor-pointer': sortable,
}
)}>
...
</th>
)
(
<th className={`m-datatable__cell whitespace-no-wrap ${sorted ? 'text-primary' : ''} ${sortable ? 'cursor-pointer' : ''} ${className}`}>
...
</th>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.