Skip to content

Add style only a particular column #2258

Discussion options

You must be logged in to vote

My solution is this:

const columns = [{
  Header: 'Column 1',
  accessor: 'name',
  Cell: x => (<div className='text-center'>{x.cell.value}</div>)
},
...
]

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@klebercarvalho
Comment options

Answer selected by klebercarvalho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants