UNPKG

@jengaui/search-input

Version:

Jenga UI Search-Input component in React

14 lines (11 loc) 540 B
import * as react from 'react'; import { JengaTextInputBaseProps } from '@jengaui/text-input'; interface JengaSearchInputProps extends JengaTextInputBaseProps { /** Whether the search input is clearable using ESC keyboard button or clear button inside the input */ isClearable?: boolean; } declare const SearchInput: react.ForwardRefExoticComponent<Omit<JengaSearchInputProps, "value" | "defaultValue"> & { value?: any; defaultValue?: any; } & react.RefAttributes<unknown>>; export { JengaSearchInputProps, SearchInput };