nice-ui
Version:
React design system, components, and utilities
17 lines (16 loc) • 456 B
TypeScript
import * as React from 'react';
export interface Props {
value: string;
placeholder?: string;
autoFocus?: boolean;
disabled?: boolean;
onInput?: (input: HTMLInputElement) => void;
onChange?: (value: string) => void;
onDeleteBefore?: () => void;
onKeyUp?: () => void;
onKeyDown?: () => void;
onTab?: () => void;
onTabBack?: () => void;
onEnter?: () => void;
}
export declare const Typeahead: React.FC<Props>;