diff --git a/public/svg/ic_search_gray.svg b/public/svg/ic_search_gray.svg
new file mode 100644
index 00000000..8dd1ab24
--- /dev/null
+++ b/public/svg/ic_search_gray.svg
@@ -0,0 +1,3 @@
+
diff --git a/public/svg/ic_x_circle_gray.svg b/public/svg/ic_x_circle_gray.svg
new file mode 100644
index 00000000..5c1362cf
--- /dev/null
+++ b/public/svg/ic_x_circle_gray.svg
@@ -0,0 +1,5 @@
+
diff --git a/src/assets/svg/IcSearchGray.tsx b/src/assets/svg/IcSearchGray.tsx
new file mode 100644
index 00000000..f132a260
--- /dev/null
+++ b/src/assets/svg/IcSearchGray.tsx
@@ -0,0 +1,13 @@
+import type { SVGProps } from 'react';
+
+const SvgIcSearchGray = (props: SVGProps) => (
+
+);
+export default SvgIcSearchGray;
diff --git a/src/assets/svg/IcXCircleGray.tsx b/src/assets/svg/IcXCircleGray.tsx
new file mode 100644
index 00000000..512dbf30
--- /dev/null
+++ b/src/assets/svg/IcXCircleGray.tsx
@@ -0,0 +1,9 @@
+import type { SVGProps } from 'react';
+
+const SvgIcXCircleGray = (props: SVGProps) => (
+
+);
+export default SvgIcXCircleGray;
diff --git a/src/assets/svg/index.ts b/src/assets/svg/index.ts
index 0899fe78..d87856c8 100644
--- a/src/assets/svg/index.ts
+++ b/src/assets/svg/index.ts
@@ -1,3 +1,6 @@
export { default as IcBack } from './IcBack'
export { default as IcClose } from './IcClose'
-export { default as IcSpeaker3D } from './IcSpeaker3D'
\ No newline at end of file
+export { default as IcSearchGray } from './IcSearchGray'
+export { default as IcXCircleGray } from './IcXCircleGray'
+export { default as IcSpeaker3D } from './IcSpeaker3D'
+
diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx
index d6182b08..6127673a 100644
--- a/src/components/Header/index.tsx
+++ b/src/components/Header/index.tsx
@@ -1,4 +1,5 @@
import React from 'react';
+import { useNavigate } from 'react-router-dom';
import Head from '@/components/Head';
import { headerRootStyle, backIconStyle, titleStyle, closeIconStyle } from '@/components/Header/index.css';
import { IcBack, IcClose } from '@/assets/svg';
@@ -8,10 +9,6 @@ interface HeaderRootProps {
isColor?: boolean;
}
-interface BackIconProps {
- onClick: () => void;
-}
-
interface TitleProps {
title: string;
}
@@ -24,9 +21,13 @@ const HeaderRoot = ({ children, isColor = false }: HeaderRootProps): JSX.Element
return {children}
;
};
-const BackIcon = ({ onClick }: BackIconProps): JSX.Element => {
+const BackIcon = (): JSX.Element => {
+ const navigate = useNavigate();
+ const handleBackClick = () => {
+ navigate(-1);
+ };
return (
-