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

Interface IProps

src/components/posts/PostCard.tsx:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29import { Button } from '../ui/button';
30
31interface IProps {
32 post: ExtendedQuestion | ExtendedAnswer;
33 sessionUser: Author | undefined | null;
34 reply?: boolean;
35 enableLink?: boolean;
36 isAnswer?: boolean;
37 questionId: number;
38 parentAuthorName?: string | null;
39}
40const isExtendedQuestion = (
41 post: ExtendedQuestion | Answer,
42): post is ExtendedQuestion => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected