Skip to content
Discussion options

You must be logged in to vote

If this is something that is purely presentational and doesn't change the core data you are putting in to the table, you can use a custom Cell renderer for the column:

columns = [{
  accessor: 'updated_at',
  Cell: ({ value }) => humanizeDaysAgo(value)
}]

Dunzo!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@gplatt
Comment options

@ncoughlin
Comment options

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