You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HerrHase 76cef5ddc4
adding
2 years ago
src typo 2 years ago
.gitignore Initial commit 2 years ago
LICENSE typo 2 years ago
README.md adding 2 years ago
package.json adding 2 years ago

README.md

Tiny Components - Raw

Component for not escaping Html. Thanks to @GianlucaGuarini

Source: https://gitea.node001.net/tiny-components/raw
Mirror: https://github.com/node001-net/tiny-components-raw

Installation

Setup this registry in your project .npmrc file:

@tiny-components:registry=https://gitea.node001.net/api/packages/tiny-components/npm/

Install with npm or yarn

npm i --save @tiny-components/raw
yarn add @tiny-components/raw

Using

Thats all, html in String will not escaped.

<tiny-raw html={ htmlString }></tiny-raw>