RichTextView
Loading example…
Read-only rendering of editor output; sanitizes again so stored HTML is never trusted.
Import
Section titled “Import”import { RichTextView } from "@jcsoftdev/ui/rich-text";<RichTextView placeholder="Describe el servicio…" minHeightRem={8} aria-label="Descripción del servicio" defaultValue={SAMPLE}/>| Prop | Type | Default | Description |
|---|---|---|---|
html * |
string |
||
className |
string |
* marks a required prop.
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/rich-text/rich-text-editor.tsx