import { Icon } from "utils/types"; const Icon = ({ icon, className }: { icon: Icon, className?: string }) => { let link; switch (icon) { case "note": link = "/icons/note.svg" break; default: link = `/icons/icons.svg#${icon}` break; } return ( ) } export default Icon