Variable: SafeHtml
constSafeHtml:FC<SafeHtmlProps>
Defined in: packages/core/src/react/components/SafeHtml.tsx:44
The SafeHtml component provides an easy way to safely render HTML
The html prop is sanitized through wpKsesPost so it's safe for rendering arbitrary html markup.
Usage
<SafeHtml html="<div><p>hello world</p> div content</div>" />
Param
Component properties