RichTextDisplay
HTMLリッチテキストを表示するコンポーネント。prose スタイリング付き。サニタイズは呼び出し側の責任。
|
import { RichTextDisplay } from "@blueai/ui"Examples
Basic
<RichTextDisplay html="<h2>見出し</h2><p>これは<strong>太字</strong>のテキストです。</p>" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| html* | string | — | 表示するHTML文字列 |
| className | string | — | 追加CSSクラス |