UNPKG

@up-group-ui/react-controls

Version:
18 lines (17 loc) 657 B
import { BaseControlProps } from './BaseControl'; import { IconName } from '../../../../Common/theming/icons'; export declare type WidthSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'fill'; export declare type HeightSize = 'normal' | 'large'; export interface CommonInputTextProps<VT> extends BaseControlProps<VT> { placeholder?: string; height?: HeightSize; width?: WidthSize; hasError?: boolean; maxLength?: number; floatingLabel?: string; onFocus?: (e: any) => void; onBlur?: (e: any) => void; } export interface CommonInputTextWithIconProps<VT> extends CommonInputTextProps<VT> { iconName?: IconName; }