deprecated-components
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

deprecated-components

Simple ways to deprecate a React component. Currently this lib shows a warning on console

Getting started

with high order components (HOC)

import deprecatedComponents from 'deprecated-components'
 
const MySampleComponent = () => null
 
export default deprecatedComponents('some reason to deprecate', MySampleComponent) 

Package Sidebar

Install

npm i deprecated-components

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

6.02 kB

Total Files

13

Last publish

Collaborators

  • gimoteco