import React, { FC } from 'react'; import './style'; interface IProps { /** * @description * The SearchBox input content value */ value: string; /** * @description * Callback when user input */ onChange: (value: string) => void; /** * @description * Callback when user search(Trigger times: Click search icon / debounce input / press enter key) */ onSearch: (value: string) => void; /** * @description * The SearchBox input value */ placeholder?: string; /** * @description * The SearchBox container ClassName */ className?: string; /** * @description * The SearchBox container style */ style?: React.CSSProperties; } declare const SearchBox: FC; export default SearchBox;