- improved grid painting and included resizing

This commit is contained in:
2025-11-24 12:19:51 +00:00
parent c5fe6754c3
commit b084c3016d
7 changed files with 70 additions and 20 deletions

View File

@@ -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;