UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

24 lines (23 loc) 654 B
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; 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; onKeyDown?: React.KeyboardEventHandler; } export declare const Input: React.FC<InputProps>;