0.0.3 • Published 4 years ago

deprecated-components v0.0.3

Weekly downloads
219
License
MIT
Repository
-
Last release
4 years ago

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)