Small library for censoring your text
npm install --save react-censored
yarn add react-censored
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
- Add some serious unit tests ¯_(ツ)_/¯
MIT © mskwio