@tiny-components/raw (0.1.0)
Published 1 year ago by HerrHase
Installation
@tiny-components:registry=https://git.node001.net/api/packages/tiny-components/npm/
npm install @tiny-components/raw@0.1.0
"@tiny-components/raw": "0.1.0"
About this package
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>