diff options
Diffstat (limited to 'src/components/ui/colorPickerInput')
-rw-r--r-- | src/components/ui/colorPickerInput/index.tsx | 16 |
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 @@ | |||
1 | import classnames from 'classnames'; | ||
2 | import { noop } from 'lodash'; | ||
3 | import { observer } from 'mobx-react'; | ||
1 | import { | 4 | import { |
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'; |
8 | import { observer } from 'mobx-react'; | 11 | import { type Color, type ColorResult, SliderPicker } from 'react-color'; |
9 | import classnames from 'classnames'; | 12 | import type { FormFields } from '../../../@types/mobx-form.types'; |
10 | import { Color, ColorResult, SliderPicker } from 'react-color'; | ||
11 | import { noop } from 'lodash'; | ||
12 | import { FormFields } from '../../../@types/mobx-form.types'; | ||
13 | 13 | ||
14 | interface IProps extends InputHTMLAttributes<HTMLInputElement>, FormFields { | 14 | interface IProps extends InputHTMLAttributes<HTMLInputElement>, FormFields { |
15 | onColorChange: (event: ChangeEvent<HTMLInputElement>) => void; | 15 | onColorChange: (event: ChangeEvent<HTMLInputElement>) => void; |