Module components/cards/CommentCard
Functions
default
- default(__namedParameters: { comment: default; onDelete: (commentID: number) => void; voted?: number }): Element
-
Parameters
-
__namedParameters: { comment: default; onDelete: (commentID: number) => void; voted?: number }
-
-
onDelete: (commentID: number) => void
-
- (commentID: number): void
-
Optional voted?: number
Returns Element
Card that displays the data connected to the comment and the possibility of rating the comment