/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import Input, { InputProps } from './Input'; export interface SearchProps extends InputProps { inputPrefixCls?: string; onSearch?: (value: string, event?: React.ChangeEvent | React.MouseEvent | React.KeyboardEvent) => void; enterButton?: React.ReactNode; loading?: boolean; onSearchClick?: (value: string, event?: React.ChangeEvent | React.MouseEvent | React.KeyboardEvent) => void; buttonInSuffix?: boolean; } declare const Search: React.ForwardRefExoticComponent>; export default Search;