Created
September 21, 2020 01:18
-
-
Save 3gcodes/3af04c764f8ff36e075a3f94ef986421 to your computer and use it in GitHub Desktop.
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
<ResponsiveGrid> | |
<GridHeader> | |
<GridData flexBasis="20%">Date</GridData> | |
<GridData flexBasis="60%">Description</GridData> | |
<GridData flexBasis="20%">Amount</GridData> | |
</GridHeader> | |
{ data.map(row => { | |
return ( | |
<GridRow> | |
<GridData flexBasis="20%">{row.date}</GridData> | |
<GridData flexBasis="60%">{row.description}</GridData> | |
<GridData flexBasis="20%">{row.amount}</GridData> | |
</GridRow> | |
); | |
})} | |
</ResponsiveGrid> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment