1 | import { Component, ClassAttributes, CSSProperties } from "react";
|
2 | import { Color, ColorChangeHandler } from "../../..";
|
3 |
|
4 | export interface EditableInputStyles {
|
5 | input?: CSSProperties | undefined;
|
6 | label?: CSSProperties | undefined;
|
7 | wrap?: CSSProperties | undefined;
|
8 | }
|
9 |
|
10 | export interface EditableInputProps extends ClassAttributes<EditableInput> {
|
11 | color?: Color | undefined;
|
12 | label?: string | undefined;
|
13 | onChange?: ColorChangeHandler | undefined;
|
14 | style?: EditableInputStyles | undefined;
|
15 | value?: any;
|
16 | dragLabel?: string | undefined;
|
17 | dragMax?: string | undefined;
|
18 | }
|
19 |
|
20 | export default class EditableInput extends Component<EditableInputProps> {}
|