aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/colorPickerInput/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/colorPickerInput/index.tsx')
-rw-r--r--src/components/ui/colorPickerInput/index.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/ui/colorPickerInput/index.tsx b/src/components/ui/colorPickerInput/index.tsx
index 39fd0220a..4870a3675 100644
--- a/src/components/ui/colorPickerInput/index.tsx
+++ b/src/components/ui/colorPickerInput/index.tsx
@@ -1,15 +1,15 @@
1import classnames from 'classnames';
2import { noop } from 'lodash';
3import { observer } from 'mobx-react';
1import { 4import {
2 ChangeEvent, 5 type ChangeEvent,
3 Component, 6 Component,
7 type InputHTMLAttributes,
8 type RefObject,
4 createRef, 9 createRef,
5 InputHTMLAttributes,
6 RefObject,
7} from 'react'; 10} from 'react';
8import { observer } from 'mobx-react'; 11import { type Color, type ColorResult, SliderPicker } from 'react-color';
9import classnames from 'classnames'; 12import type { FormFields } from '../../../@types/mobx-form.types';
10import { Color, ColorResult, SliderPicker } from 'react-color';
11import { noop } from 'lodash';
12import { FormFields } from '../../../@types/mobx-form.types';
13 13
14interface IProps extends InputHTMLAttributes<HTMLInputElement>, FormFields { 14interface IProps extends InputHTMLAttributes<HTMLInputElement>, FormFields {
15 onColorChange: (event: ChangeEvent<HTMLInputElement>) => void; 15 onColorChange: (event: ChangeEvent<HTMLInputElement>) => void;