UNPKG

@brizy/ui

Version:
18 lines (17 loc) 607 B
import { ReactElement } from "react"; export interface Props { value: string; onChange: (s: string) => void; placeholder?: string; size?: "small" | "middle" | "large"; disabled?: boolean; loading?: boolean; theme?: "dark" | "light"; focused?: boolean; onSearch?: () => void; onBlur?: () => void; onFocus?: () => void; onClear?: () => void; border?: "outline" | "field" | "none"; } export declare const Search: ({ placeholder, size, disabled, loading, value, theme, focused, onChange, onSearch, onBlur, onFocus, onClear, border, }: Props) => ReactElement;