Options
All
  • Public
  • Public/Protected
  • All
Menu

Module components/cards/CommentCard

Index

Functions

Functions

default

  • default(__namedParameters: { comment: default; onDelete: (commentID: number) => void; voted?: number }): Element
  • Card that displays the data connected to the comment and the possibility of rating the comment

    Parameters

    • __namedParameters: { comment: default; onDelete: (commentID: number) => void; voted?: number }
      • comment: default
      • onDelete: (commentID: number) => void
          • (commentID: number): void
          • Parameters

            • commentID: number

            Returns void

      • Optional voted?: number

    Returns Element

Generated using TypeDoc