- improved grid painting and included resizing
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
type ColourPickerProps = {
|
||||
colour: string;
|
||||
setColour: (colour: string) => void;
|
||||
};
|
||||
|
||||
const ColourPicker = ({ colour, setColour }: ColourPickerProps) => {
|
||||
return <input type="color" name="" id="" value={colour} onChange={(e) => setColour(e.target.value)} />;
|
||||
};
|
||||
|
||||
export default ColourPicker;
|
||||
Reference in New Issue
Block a user