@pk-design/react-ui-kit
Version:
Reusable react components
24 lines (23 loc) • 725 B
TypeScript
export declare type TooltipDirection = 'top' | 'bottom' | 'left' | 'right';
export declare type TransitionState = 'entering' | 'entered' | 'exiting' | 'exited';
export declare type InputSize = 'small' | 'default' | 'large';
export interface HintProps {
hint?: any;
hintPosition?: TooltipDirection;
}
export interface InputProps extends HintProps {
id?: string;
label?: any;
labelClass?: string;
required?: boolean;
disabled?: boolean;
message?: any;
error?: any;
placeholder?: string;
inputSize?: InputSize;
width?: number | string;
height?: number | string;
className?: string;
tabIndex?: number;
}
export declare const INPUT_KEY: string[];