@brizy/ui
Version:
React elements in Brizy style
18 lines (17 loc) • 607 B
TypeScript
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;