Skip to content

Commit

Permalink
Fixed #2006 - ColorPicker: add missing input attributes, part 2: type…
Browse files Browse the repository at this point in the history
… definitions
  • Loading branch information
mertsincan committed May 5, 2021
1 parent 0313b9c commit 19953c0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/colorpicker/ColorPicker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,12 @@ interface ColorPickerChangeParams {
target: ColorPickerChangeTargetOptions;
}

export interface ColorPickerProps {
id?: string;
export interface ColorPickerProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange'> {
inputRef?: React.Ref<HTMLInputElement>;
value?: string;
style?: object;
className?: string;
defaultColor?: string;
inline?: boolean;
format?: string;
appendTo?: ColorPickerAppendToType;
disabled?: boolean;
tabIndex?: number;
inputId?: string;
tooltip?: string;
tooltipOptions?: TooltipOptions;
Expand Down

0 comments on commit 19953c0

Please sign in to comment.