linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
11 lines (10 loc) β’ 504 B
TypeScript
import * as React from 'react';
import type { InputProps, InputRef } from './Input';
export interface SearchProps extends InputProps {
inputPrefixCls?: string;
onSearch?: (value: string, event?: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLInputElement>) => void;
enterButton?: React.ReactNode;
loading?: boolean;
}
declare const Search: React.ForwardRefExoticComponent<SearchProps & React.RefAttributes<InputRef>>;
export default Search;