Block Parts
Conversation Item
One conversation in an inbox list, with sender, subject, preview, tags and an unread state.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { ConversationItem, ConversationItemProps } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| person | Person | — |
| time | ReactNode | — |
| subject | ReactNode | — |
| preview | ReactNode | — |
| tags | { label: ReactNode; color?: BadgeColor }[] | — |
| unread | boolean | — |
| active | boolean | — |
| onClick | () => void | — |
| className | string | — |