@rapid-platform/sanitize-html
v1.0.0
Published
Sanitize and render a dirty HTML string in a div using a single, simple component.
Downloads
1
Readme
React Component — SanitizedDiv
Sanitize and render a dirty HTML string in a div using a single, simple component.
Comes with sane defaults and the ability to override any of these defaults.
This library depends on sanitizeHtml
<SanitizedDiv html={dirtyHtmlString} className="html-content" />