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

Interface CommentVoteFormProps

src/components/comment/CommentVoteForm.tsx:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import { usePathname } from 'next/navigation';
10
11interface CommentVoteFormProps {
12 upVotes: number;
13 downVotes: number;
14 commentId: number;
15 voteType: VoteType | null;
16}
17
18const CommentVoteForm: React.FC<CommentVoteFormProps> = ({
19 upVotes,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected