import styles from "./icon.module.scss";
export 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 && (
)}
);
}
export function DecorativeIcon ({
type,
}: {
type: string
}) {
return (
{type === "pigHeadLogo" &&
}
{type === "key" && (
)}
{type === "ticket" && (
)}
{type === "shield" && (
)}
{type === "bottle" && (
)}
{type === "lostProperty" && (
)}
{type === "pigsty" && (
)}
{type === "wheelchair" && (
)}
{type === "clock" && (
)}
{type === "parking" && (
)}
{type === "coins" && (
)}
);
}