@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
21 lines (20 loc) • 962 B
TypeScript
import { ChangeEvents } from '@smart-react-components/core/element-props/change-events';
import { FocusEvents } from '@smart-react-components/core/element-props/focus-events';
import { KeyboardEvents } from '@smart-react-components/core/element-props/keyboard-events';
import { ContentElement, ShapeProp } from '@smart-react-components/core/types';
import React from 'react';
import { Props as ColorPickerProps } from '../ColorPicker';
export { ColorPickerFormat } from '../ColorPicker';
export interface Props extends ColorPickerProps, ChangeEvents, FocusEvents, KeyboardEvents {
hasBorder?: boolean;
isBlock?: boolean;
isReadOnly?: boolean;
isRequired?: boolean;
label?: string;
leftAddon?: ContentElement;
placeholder?: string;
rightAddon?: ContentElement;
shape?: ShapeProp;
}
declare const InputColorPicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
export default InputColorPicker;