diff --git a/src/components/Icon/LeftArrowIcon.tsx b/src/components/Icon/LeftArrowIcon.tsx new file mode 100644 index 00000000..e201a9ef --- /dev/null +++ b/src/components/Icon/LeftArrowIcon.tsx @@ -0,0 +1,15 @@ +import React, { type SVGProps } from 'react'; + +function LeftArrowIcon(props: SVGProps) { + return ( + + + + ); +} + +export default LeftArrowIcon; diff --git a/src/components/Icon/index.tsx b/src/components/Icon/index.tsx new file mode 100644 index 00000000..95cc635b --- /dev/null +++ b/src/components/Icon/index.tsx @@ -0,0 +1,15 @@ +import { type SVGProps } from 'react'; +import LeftArrowIcon from '@/components/Icon/LeftArrowIcon'; + +type IconType = 'left-arrow'; + +interface Props extends SVGProps { + name: IconType; +} + +export default function Icon({ name, ...props }: Props) { + switch (name) { + case 'left-arrow': + return ; + } +}