1import { Poll } from "@/components/mizzle/chat/poll"
2
3<Poll
4 question="Where are we grabbing lunch?"
5 me={{ name: "You" }}
6 options={[
7 { id: "coffee", label: "Kivu Coffee", votes: 3, voters: [{ name: "Keza" }, { name: "Teta" }] },
8 { id: "pizza", label: "Stay in, order pizza", votes: 2, voters: [{ name: "Ineza" }] },
9 ]}
10 onVote={(ids) => saveVote(ids)}
11/>