import { VoteType } from "@prisma/client"; import * as React from "react"; import CheckCircle from "@/components/icons/check-circle.svg"; import IfNeedBe from "@/components/icons/if-need-be.svg"; const VoteIcon: React.VoidFunctionComponent<{ type?: VoteType; }> = ({ type }) => { switch (type) { case "yes": return ; case "ifNeedBe": return ; case "no": return ( ); default: return ?; } }; export default VoteIcon;