Created
April 18, 2020 00:21
-
-
Save marshallmurphy/e0fa8e77e45ced4e20c1dd42ed09d4b5 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
// App.js | |
... | |
export default function App() { | |
const color = '#FFC77D'; | |
const data = [ | |
{"duration": 4, column: 0}, | |
{"duration": 7, column: 1}, | |
{"duration": 6, column: 2}, | |
{"duration": 7, column: 3}, | |
{"duration": 8, column: 4}, | |
{"duration": 5, column: 5}, | |
{"duration": 8, column: 6}, | |
]; | |
return ( | |
... | |
<BarGraph | |
color={color} | |
data={data} /> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment