Skip to content

quadas/react-clean-props

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-clean-props

Install

$ npm install @zippytech/react-clean-props

Usage

import cleanProps from '@zippytech/react-clean-props'

class App extends React.Component {
  render() {
    const props = cleanProps(this.props, App.propTypes)
    return <div {...props} />
  }
}

App.propTypes = {
  // all your component props go here
}

LICENSE

About

Clean your React props

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published