react-censored
v1.0.0
Published
Small library for censoring your text
Downloads
10
Readme
react-censored
Small library for censoring your text
Install
npm install --save react-censored
yarn add react-censored
Usage
import React from 'react'
import { ReactCensored } from 'react-censored'
const ParagraphWithCensor = () => {
return (
<main>
<h1>
React
<ReactCensored blur={8} color='hotpink'>
Censored
</ReactCensored> 👀
</h1>
</main>
)
}
export default ParagraphWithCensor
TODO
- Add some serious unit tests ¯_(ツ)_/¯
License
MIT © mskwio