UNPKG

@smart-react-components/ui

Version:
21 lines (20 loc) 962 B
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;