import styles from "./pig.module.scss"; import { ChillPig } from "./pigs/ChillPig"; import { DancePig } from "./pigs/DancePig"; import { DrinkPig } from "./pigs/DrinkPig"; import { GuardPig } from "./pigs/GuardPig"; import { KeyPig } from "./pigs/KeyPig"; import { ListenPig } from "./pigs/ListenPig"; import { LogoPig } from "./pigs/LogoPig"; import { MusicPig } from "./pigs/MusicPig"; import { PeekPig } from "./pigs/PeekPig"; import { PointPig } from "./pigs/PointPig"; import { StudentPig } from "./pigs/StudentPig"; export const Pig = ({ type, }: { type: | "logo" | "music" | "drink" | "dance" | "point" | "student" | "listen" | "guard" | "key" | "chill" | "peek"; }) => { return (
{type === "logo" && } {type === "music" && } {type === "drink" && } {type === "dance" && } {type === "point" && } {type === "student" && } {type === "listen" && } {type === "guard" && } {type === "key" && } {type === "chill" && } {type === "peek" && }
); };