web: name the fallback icon pigTail and require an icon type
This commit is contained in:
1 file changed
+2
-2
@@ -5,7 +5,7 @@ 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" | "tiktok";
|
||||
type: "doc" | "arrowUp" | "arrowRight" | "externalLink" | "search" | "tickets" | "list" | "calendar" | "filter" | "noFilter" | "email" | "phone" | "instagram" | "facebook" | "flickr" | "tiktok" | "pigTail";
|
||||
}) {
|
||||
return (
|
||||
<span className={styles.icon}>
|
||||
@@ -91,7 +91,7 @@ export function Icon({
|
||||
</svg>
|
||||
)}
|
||||
|
||||
{!type && (
|
||||
{type === "pigTail" && (
|
||||
<span>
|
||||
<svg
|
||||
viewBox="0 0 49 49"
|
||||
|
||||
Reference in new issue
Block a user