import clsx from "clsx"; import { ChangeEvent, FC, HTMLAttributes } from "react"; import styles from "./styles.module.css"; export interface SearchProps extends HTMLAttributes { placeholder?: string; value: string; onChange: (e: ChangeEvent) => void; } export const Search: FC = ({ className, placeholder = "Search...", value, onChange, ...props }) => ( ); { /* {showAddAmountControls ? this.renderAmountControls() : null} */ }