1.0.0 • Published 2 years ago
@rapid-platform/sanitize-html v1.0.0
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" />
1.0.0
2 years ago