mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-08 09:34:40 +00:00
feat: add setting color functionality
This commit is contained in:
parent
10bee2f66a
commit
a3b128053a
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user