You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
493 B
11 lines
493 B
import * as React from 'react';
|
|
import Input, { InputProps } 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<Input>>;
|
|
export default Search;
|