- improved ui for region selector and camera settings
This commit is contained in:
@@ -4,7 +4,16 @@ type ColourPickerProps = {
|
||||
};
|
||||
|
||||
const ColourPicker = ({ colour, setColour }: ColourPickerProps) => {
|
||||
return <input type="color" name="" id="" value={colour} onChange={(e) => setColour(e.target.value)} />;
|
||||
return (
|
||||
<input
|
||||
type="color"
|
||||
name=""
|
||||
id=""
|
||||
value={colour}
|
||||
onChange={(e) => setColour(e.target.value)}
|
||||
className="h-8 w-8 p-0 rounded-md border border-slate-500 cursor-pointer"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default ColourPicker;
|
||||
|
||||
Reference in New Issue
Block a user