MCPcopy Create free account
hub / github.com/dev-lou/voting-system / VotingLayoutProps

Interface VotingLayoutProps

src/components/VotingLayout.tsx:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { Minus, Check, X } from "lucide-react";
11import type { PositionWithCandidates } from "../lib/types";
12
13interface VotingLayoutProps {
14 positions: PositionWithCandidates[];
15 electionName: string;
16 isOnline: boolean;
17 userEmail?: string;
18 isSubmitting: boolean;
19 onSubmit: () => void;
20 abstainedPositions?: Set<string>;
21 onAbstain?: (positionId: string) => void;
22}
23
24/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected