Skip to content

Instantly share code, notes, and snippets.

@iainnash
Created February 23, 2018 16:18
Show Gist options
  • Save iainnash/daf5a6eac7e1af5e6f278006070b82ec to your computer and use it in GitHub Desktop.
Save iainnash/daf5a6eac7e1af5e6f278006070b82ec to your computer and use it in GitHub Desktop.
Example Table Config
<Table data={data}>
<Table.ColumnGroup header="Name">
<Table.Column accessor="firstName">First Name</Table.Column>
<Table.Column accessor={d => d.lastName}>Last Name</Table.Column>
</Table.ColumnGroup>
<Table.ColumnGroup header="Info">
<Table.Column accessor="age">Age</Table.Column>
</Table.ColumnGroup>
</Table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment