Default Props
Auto populate default props for react components
Usage
npm i default-props
import * as PropTypes from 'prop-types'import defaultProps from 'default-props' { return <abc />} ComponentpropTypes = b: PropTypesbool n: PropTypesnumber f: PropTypesfunc s: PropTypesstring ComponentdefaultProps =
You can also selectively combine props
ComponentdefaultProps = ... ... ...