Last active
March 18, 2019 22:50
-
-
Save ajcrites/a45faf66f1883654386e8494335ad3ff 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
| import React, { useState } from 'react'; | |
| import { HexInput } from '~/HexInput'; | |
| import { RgbaInput } from '~/RgbaInput'; | |
| export const ColorToolApp = () => { | |
| const [hex, setHex] = useState(''); | |
| const [rgba, setRgba] = useState([0, 0, 0, 0]); | |
| return ( | |
| <main> | |
| <HexInput /> | |
| <RgbaInput /> | |
| </main> | |
| ); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment