mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 20:03:52 +00:00
refactor: swatch picker and inline colour picker
This commit is contained in:
committed by
Carlos Valente
parent
1ba48c6a6f
commit
dbd56522f6
@@ -22,7 +22,8 @@ export default function InlineColourPicker(props: InlineColourPickerProps) {
|
||||
|
||||
return (
|
||||
<div className={style.inline}>
|
||||
<SwatchPicker color={colour} onChange={setColour} />
|
||||
<SwatchPicker color={colour} onChange={setColour} alwaysDisplayColor />
|
||||
<span>{colour}</span>
|
||||
<input type='hidden' name={name} value={colour} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user