1.0.0 • Published 2 years ago

@rapid-platform/sanitize-html v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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" />