nice-ui
Version:
React design system, components, and utilities
25 lines (24 loc) • 614 B
TypeScript
import * as React from 'react';
export interface IInputLineProps {
disabled?: boolean;
value?: string;
label?: string;
type?: 'text' | 'password' | 'email';
focus?: boolean;
select?: boolean;
readOnly?: boolean;
small?: boolean;
isInForm?: boolean;
style?: any;
waiting?: boolean;
onChange?: (value: string) => void;
onBlur?: () => void;
onFocus?: () => void;
onPaste?: () => void;
onCancelClick?: () => void;
}
export interface IInputLineState {
focus?: boolean;
hover?: boolean;
}
export declare const InputLine: React.FC<IInputLineProps>;