MCPcopy Create free account
hub / github.com/code100x/cms / IVoteFormProps

Interface IVoteFormProps

src/components/posts/form/form-vote.tsx:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { VoteType } from '@prisma/client';
11import { usePathname } from 'next/navigation';
12interface IVoteFormProps {
13 questionId: number | undefined;
14 answerId: number | undefined;
15 upvotes: number;
16 downvotes: number;
17 votesArr: any[];
18 slug: string;
19}
20
21const VoteForm: React.FC<IVoteFormProps> = ({
22 questionId,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected