UNPKG

@devbookhq/ui

Version:

Devbook UI is a React UI library

15 lines (14 loc) 554 B
import { KeyboardEvent, ChangeEvent } from 'react'; export interface InputProps { className?: string; value?: string; placeholder?: string; onMouseDown?: () => void; disabled?: boolean; onBlur?: (e: any) => void; onFocus?: (e: any) => void; onChange?: (e: ChangeEvent<HTMLInputElement>) => void; onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void; } declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>; export default Input;