0.1.5 • Published 2 years ago

simple-palette-component v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

simple-palette-component

USAGE

import { Canvas, Palette } from 'simple-palette-component'

const App = () => {
 return (
   <div class="App">
     <Canvas />
     <Palette />
     
   </div>
 );
}

export default App;

Canvas

You can display components that allow you to draw simple pictures.

Palette

You can display a simple color picker. It is also possible to pass the selected color to the calling component.

const[color, setColor] = useState<string>('#000000');

<Palette onChangeColor={setColor} />
0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago