Skip to main content

Interface: SafeHtmlProps

Defined in: packages/core/src/react/components/SafeHtml.tsx:6

Properties

html

html: string

Defined in: packages/core/src/react/components/SafeHtml.tsx:14

The HTML string to be rendered.

<SafeHtml html="<div><p>hello world</p> div content</div>" />

ksesAllowList?

optional ksesAllowList: IWhiteList

Defined in: packages/core/src/react/components/SafeHtml.tsx:26

The allow list for the parser

<SafeHtml
html="<div><p>hello world</p> div content</div>"
ksesAllowList={{ div: [] }}
/>