nice-ui
Version:
React design system, components, and utilities
24 lines (23 loc) • 634 B
TypeScript
import * as React from 'react';
export interface InputProps {
disabled?: boolean;
value?: string;
placeholder?: string;
label?: string;
type?: 'text' | 'password' | 'email';
focus?: boolean;
select?: boolean;
readOnly?: boolean;
size?: number;
isInForm?: boolean;
style?: any;
waiting?: boolean;
right?: React.ReactNode;
inp?: (input: HTMLInputElement | null) => void;
onChange?: (value: string) => void;
onBlur?: () => void;
onFocus?: () => void;
onPaste?: () => void;
onEsc?: React.KeyboardEventHandler;
}
export declare const Input: React.FC<InputProps>;