import React from "react"; import * as styles from "./Icon.module.scss"; import { ICONS } from "@/constants"; interface Props { name: keyof typeof ICONS; icon: { viewBox?: string; path?: string; }; } const Icon: React.FC = ({ name, icon }: Props) => ( {name} ); export default Icon;