Skip to content

Instantly share code, notes, and snippets.

@leandrojo
Created June 27, 2018 13:55
Show Gist options
  • Select an option

  • Save leandrojo/67c46bdc535023fa3e81ddf3afc8ad73 to your computer and use it in GitHub Desktop.

Select an option

Save leandrojo/67c46bdc535023fa3e81ddf3afc8ad73 to your computer and use it in GitHub Desktop.
data = [
{
description: 'Taxa de Juros',
value: '1.35',
},
{
description: 'Parcela',
value: '450.05',
},
];
const render = () => {
return (
<ReactTable
data={data}
columns={[
{
Header: "",
accessor: description
},
{
Header: "",
accessor: value
},
]}
/>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment