From 0a954547b2bb8136c97f3a697274319751e046ed Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 5 Jan 2022 12:00:43 +0100 Subject: chore: replace theme button with settings I plan to add more user settings so theme options should be inside settings. --- .../Buttons/ButtonSearch/ButtonSearch.tsx | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/components/Buttons/ButtonSearch/ButtonSearch.tsx (limited to 'src/components/Buttons/ButtonSearch/ButtonSearch.tsx') diff --git a/src/components/Buttons/ButtonSearch/ButtonSearch.tsx b/src/components/Buttons/ButtonSearch/ButtonSearch.tsx deleted file mode 100644 index be5a9bc..0000000 --- a/src/components/Buttons/ButtonSearch/ButtonSearch.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import { CloseIcon, SearchIcon } from '@components/Icons'; -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; -- cgit v1.2.3