import CloseIcon from '@assets/images/icon-close.svg'; import SearchIcon from '@assets/images/icon-search.svg'; import { t } from '@lingui/macro'; import { SetStateAction } from 'react'; import styles from '../Buttons.module.scss'; const ButtonSearch = ({ isActivated, setIsActivated, }: { isActivated: boolean; setIsActivated: (value: SetStateAction) => void; }) => { const btnClasses = isActivated ? `${styles.search} ${styles['search--opened']}` : styles.search; return ( ); }; export default ButtonSearch;