Skip to content
Source
Sign inSign up
TanStack/table

I'm trying to style td tags conditionally #52

Closedsshaginyan(GitHub profile, opens in a new tab) opened this issue 4 comments

Is is possible to style td tags conditionally? Can I see some sample code. The Function Rendering section in the docs should suffice, but don't know how to change a td's background color based on the data I give to react-table.

  1. Help is on the way in v 5.0.0 :) You'll be able decorate or override the props of any core component with a callback. You'll have all the power you want :)

  2. Is there a branch for v 5.0.0?

  3. Nope, It's live and release. yarn install react-table or yarn upgrade react-table. Be sure to skim the docs again. I'll work on a changelog here soon.

  4. tannerlinsley closed this

Sign in to join this conversation.