0.1.5 • Published 5 years ago

simple-palette-component v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago