0.1.2 • Published 5 days ago

@color-blindness-devtool/react v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 days ago

@color-blindness-devtool/react

A React component for simulating color blindness in web application development.

Installation

npm install @color-blindness-devtool/react

Usage

Import the ColorBlindnessDevtool component and wrap your application with it.

import { ColorBlindnessDevtool } from '@color-blindness-devtool/react'

function App() {
  return (
    <ColorBlindnessDevtool>
      {/* Your application here */}
    </ColorBlindnessDevtool>
  )
}

Disable the DevTool

You can disable the devtool by setting the disabled prop to true.

This is particularly useful for disabling the simulation in production environments:

<ColorBlindnessDevTool disabled={process.env.NODE_ENV === 'production'} />
0.1.2

5 days ago

0.1.1

14 days ago

0.1.0

2 months ago

0.0.3

2 months ago

0.0.2

2 months ago

0.0.5

2 months ago

0.0.4

2 months ago

0.0.6

2 months ago

0.0.1

2 months ago