# XWUIComment

A single comment block rendering an author, avatar, body content, a datetime stamp, and a row of action links - the Ant Design Comment equivalent. Author, content, datetime, and each action accept either a plain string or an `HTMLElement`, and the `nested` config flag indents the block so it can sit inside a threaded reply chain.

## Basic Usage

Constructs one comment block from author, avatar, content, datetime, and actions data.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A single comment block with author, avatar, content, datetime, and actions.
```

## Reply thread

A parent comment with a nested reply; the `nested` config indents the reply so it reads as a threaded conversation.

```example
file: examples/Thread.ts
html: examples/Thread.html
title: Reply thread
description: A parent comment with a nested reply underneath.
```

## Rich content and actions

An HTML comment body with a row of action links (Like, Reply, Share, Report).

```example
file: examples/RichContent.ts
html: examples/RichContent.html
title: Rich content and actions
description: HTML body content plus a row of action links.
```

```api
```
