import styles from "./icon.module.scss"; export default function Icon({ type, }: { type?: "doc" | "arrowUp" | "arrowRight" | "externalLink" | "search" | "tickets" | "list" | "calendar" | "filter" | "noFilter" | "email" | "phone" | "instagram" | "facebook" | "flickr"; }) { return (
{type === "doc" && ( )} {type === "arrowUp" && ( )} {type === "arrowRight" && ( )} {type === "externalLink" && ( )} {type === "search" && ( )} {type === "tickets" && ( )} {type === "list" && ( )} {type === "calendar" && ( )} {type === "filter" && ( )} {type === "noFilter" && ( )} {type === "email" && ( )} {type === "phone" && ( )} {type === "instagram" && ( )} {type === "facebook" && ( )} {type === "flickr" && ( )} {!type && (
)}
); }