export type SearchInputProps = { placeholder: string; value: string; onChange: (value: string) => any; }; export const SearchInput = (props: SearchInputProps) => { const { onChange, placeholder, value } = props; return ( ); };