Created
February 23, 2018 16:18
-
-
Save iainnash/daf5a6eac7e1af5e6f278006070b82ec to your computer and use it in GitHub Desktop.
Example Table Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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