UNPKG

@starter-ui/core

Version:

This is a UI Components built with the utility classes from Tailwind CSS.

22 lines (21 loc) 668 B
import { default as React } from 'react'; export interface Props { id?: string; value?: string; isLoading?: boolean; size?: string; disabled?: boolean; placeholder?: string; autoFocus?: boolean; variant?: 'flat' | 'underlined' | 'bordered'; inputClassName?: string; className?: string; onChange?: (inputValue: string) => void; onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>, value: string, handleBlurInput?: () => void) => void; onBlur?: () => void; onFocus?: () => void; onClearSearch?: () => void; onSearch?: () => void; } declare const SearchInput: React.FC<Props>; export default SearchInput;