1 | import * as React from 'react';
|
2 | import type { InputProps, InputRef } from './Input';
|
3 | export interface SearchProps extends InputProps {
|
4 | inputPrefixCls?: string;
|
5 | onSearch?: (value: string, event?: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLInputElement>) => void;
|
6 | enterButton?: React.ReactNode;
|
7 | loading?: boolean;
|
8 | }
|
9 | declare const Search: React.ForwardRefExoticComponent<SearchProps & React.RefAttributes<InputRef>>;
|
10 | export default Search;
|