feat: change color in png finished

This commit is contained in:
Ibrahima G. Coulibaly
2024-06-25 01:26:53 +01:00
parent 173e49a10f
commit d1450f704f
5 changed files with 65 additions and 44 deletions

View File

@@ -28,7 +28,11 @@ const ColorSelector: React.FC<ColorSelectorProps> = ({
return (
<Box mb={1}>
<Stack direction={'row'}>
<TextField value={color} onChange={handleColorChange} />
<TextField
sx={{ backgroundColor: 'white' }}
value={color}
onChange={handleColorChange}
/>
<IconButton onClick={() => inputRef.current?.click()}>
<PaletteIcon />
</IconButton>