main
HerrHase 1 year ago
parent 498d97bfc2
commit dac5c4d9ec

@ -1,6 +1,6 @@
MIT License
Copyright (c) <year> <copyright holders>
Copyright (c) <2023> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@ -1,7 +1,25 @@
# raw
# Tiny Components - Raw
Shows unescaped Html.
Component for not escaping Html. Thanks to (@GianlucaGuarini)[https://github.com/GianlucaGuarini]
## Installation
Setup this registry in your project .npmrc file:
```
@tiny-components:registry=https://gitea.node001.net/api/pa()ckages/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>
```

Loading…
Cancel
Save