Created
April 30, 2019 11:16
-
-
Save ericwenn/96446b52f3bce52bdc502e94ea5e47c9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const _ = () => ( | |
<Table | |
columns={[ | |
{ label: "Id", value: "id", size: 2, sortable: false}, | |
{ label: "Name", value: "name", size: 2, sortable: false}, | |
]} | |
renderRow={(data, gridProps) => ( | |
<Grid {...gridProps[i]}>{data.id}</Grid> | |
<Grid {...gridProps[i]}>{data.name}</Grid> | |
)} | |
data={lanes} | |
onSortChanged={console.log} | |
/> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment