Compare commits

...

2 Commits

Author SHA1 Message Date
HerrHase fc791275ec typo
1 year ago
HerrHase dac5c4d9ec adding
1 year ago

@ -1,6 +1,6 @@
MIT License
Copyright (c) <year> <copyright holders>
Copyright (c) 2023 Björn Hase <me@herr-hase.wtf>
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>
```

@ -5,7 +5,7 @@
*
* @author Björn Hase
* @license http://opensource.org/licenses/MIT The MIT License
* @link https://gitea.node001.net/tiny-components/sidebar-form
* @link https://gitea.node001.net/tiny-components/raw
*
*/

Loading…
Cancel
Save