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

Interface IVoteFormProps

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

Source from the content-addressed store, hash-verified

10import { Trash2 } from 'lucide-react';
11import { Button } from '@/components/ui/button';
12interface IVoteFormProps {
13 questionId: number | undefined;
14 answerId: number | undefined;
15}
16type DeleteActionData = { questionId?: number; answerId?: number };
17type DeleteAction = (
18 data: DeleteActionData,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected