diff --git a/lazy-timer-fe/src/pages/Charts/ColorPicker.jsx b/lazy-timer-fe/src/pages/Charts/ColorPicker.jsx new file mode 100644 index 0000000..3c9c678 --- /dev/null +++ b/lazy-timer-fe/src/pages/Charts/ColorPicker.jsx @@ -0,0 +1,31 @@ +import React from 'react' +import { ColorPickerComponent } from '@syncfusion/ej2-react-inputs' + +import { Header } from '../components' + +const change = args => { + document.getElementById('preview').style.backgroundColor = args.currentValue.hex +} + +const CustomColorPicker = ({ id, mode }) => + +const ColorPicker = () => ( +
+
+
+
+
+
+

Inline Pallete

+ +
+
+

Inline Picker

+ +
+
+
+
+) + +export default ColorPicker