https://github.com/unlyed/utils-react
https://github.com/unlyed/utils-react
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/unlyed/utils-react
- Owner: UnlyEd
- License: mit
- Created: 2019-01-08T15:16:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T23:49:49.000Z (over 6 years ago)
- Last Synced: 2025-01-29T04:45:58.246Z (over 1 year ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://snyk.io/test/github/UnlyEd/utils-react?targetFile=package.json)
# unly-utils-react
This project is a transversal project, tools to help and improve react development
Install:
npm or yarn
```
npm install https://github.com/UnlyEd/unly-utils-react.git
```
Use:
```
import { SafeHTML } from 'unly-utils-react';
or
import SafeHTML from 'unly-utils-react/lib';
```
### React Components
SafeHTML:
| props | required | default |
|:---------------:| :-----:| :-----:|
| html | yes | |
| tag | no | div |
### Build
```
yarn run build
```
### Test
Run once:
```
yarn run test:once
```
Watch:
```
yarn test
```
Coverage:
```
yarn run test:coverage
```
# Vulnerability disclosure
[See our policy](https://github.com/UnlyEd/Unly).
---
# Contributors and maintainers
This project is being maintained by:
- [Unly] Ambroise Dhenain ([Vadorequest](https://github.com/vadorequest)) **(active)**
---
> [Unly](https://unly.org) is a socially responsible company, fighting inequality and facilitating access to higher education.
> Unly is committed to making education more inclusive, through responsible funding for students.
We provide technological solutions to help students find the necessary funding for their studies.
We proudly participate in many TechForGood initiatives. To support and learn more about our actions to make education accessible, visit :
- https://twitter.com/UnlyEd
- https://www.facebook.com/UnlyEd/
- https://www.linkedin.com/company/unly
- [Interested to work with us?](https://jobs.zenploy.io/unly/about)
Tech tips and tricks from our CTO on our [Medium page](https://medium.com/unly-org/tech/home)!
#TECHFORGOOD #EDUCATIONFORALL