aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Buttons/ButtonSearch
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-22 12:36:40 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-22 14:32:31 +0100
commit139b3a252c9f90de603be1a98e3186b359353541 (patch)
treec020013b3aec522ae378b9e57ec1326a5a829d38 /src/components/Buttons/ButtonSearch
parent6917a572011489aafe62c9d2479615cb2928094f (diff)
chore: replace svg imports with components
It allows me to control the colors of each SVG paths.
Diffstat (limited to 'src/components/Buttons/ButtonSearch')
-rw-r--r--src/components/Buttons/ButtonSearch/ButtonSearch.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/Buttons/ButtonSearch/ButtonSearch.tsx b/src/components/Buttons/ButtonSearch/ButtonSearch.tsx
index a2635aa..be5a9bc 100644
--- a/src/components/Buttons/ButtonSearch/ButtonSearch.tsx
+++ b/src/components/Buttons/ButtonSearch/ButtonSearch.tsx
@@ -1,5 +1,4 @@
-import CloseIcon from '@assets/images/icon-close.svg';
-import SearchIcon from '@assets/images/icon-search.svg';
+import { CloseIcon, SearchIcon } from '@components/Icons';
import { t } from '@lingui/macro';
import { SetStateAction } from 'react';
import styles from '../Buttons.module.scss';