The exported IPicker interface has HsvColor as argument for onColorSelected: onColorSelected: (selectedColor: HsvColor) => void;
But the argument is actually a string (tinycolor(...).toHexString()), which makes TypeScript sad. Will file a PR later this week.
The exported IPicker interface has HsvColor as argument for onColorSelected:
onColorSelected: (selectedColor: HsvColor) => void;
But the argument is actually a string (tinycolor(...).toHexString()
), which makes TypeScript sad. Will file a PR later this week.Merry Christmas!