react-censored
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

react-censored

Small library for censoring your text

NPM JavaScript Style Guide

ReactCensored

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

Dependencies (0)

    Dev Dependencies (29)

    Package Sidebar

    Install

    npm i react-censored

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    7.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • mskw