diff --git a/src/assets/images/Search.svg b/src/assets/images/Search.svg new file mode 100644 index 00000000..d8e513bb --- /dev/null +++ b/src/assets/images/Search.svg @@ -0,0 +1,6 @@ + diff --git a/src/components/search/SearchInput.tsx b/src/components/search/SearchInput.tsx index c70b9124..a667d5bc 100644 --- a/src/components/search/SearchInput.tsx +++ b/src/components/search/SearchInput.tsx @@ -1,11 +1,20 @@ +import { useNavigate } from 'react-router-dom'; +import { ReactComponent as LeftIcon } from '@assets/images/Left.svg'; +import { ReactComponent as SearchIcon } from '@assets/images/Search.svg'; + export const SearchInput = () => { + const navigate = useNavigate(); + + const goBack = () => { + navigate(-1); + }; return ( <>