Comment section

A comment section showing each comment in a box displaying the username, time of comment, and the comment content.

A comment section showing each comment in a box displaying the username, time of comment, and the comment content. The comments are sorted as showing the newest first. The input of this module is the data list containing the comments with the schema id, username, content, and time of creation.

Inputs

The comment section takes in a Comment list which is a list of object, the object's properties are:

Property name

Description

Content

The content of the comment.

Creation date

The timestamp of the creation of this comment.

Username

The name or username of the comment's writer.

ID

ID of the comment.