feat: add setting color functionality

This commit is contained in:
Ivana Andersson 2023-08-16 18:25:43 +03:00
parent 10bee2f66a
commit a3b128053a
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import ReactionIcon from '../../components/Icons/ReactionIcon'
const CreateLocalNodePage = () => {
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
const [chosenColor, setChosenColor] = useState('#FFFFFF')
return (
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
@ -64,6 +65,8 @@ const CreateLocalNodePage = () => {
'#C78F67',
'#CB6256',
]}
color={chosenColor}
onChange={color => setChosenColor(color.hex)}
/>
</YStack>
</XStack>