atom-react-autocomplete icon indicating copy to clipboard operation
atom-react-autocomplete copied to clipboard

enhancement: parse additional proptypes from other components

Open scottdickerson opened this issue 7 years ago • 0 comments

I have a Wrapper component that wraps another component and needs to expose its propTypes up the chain, so I was trying something like this:

TextInput.propTypes = { ...WrappedComponent.propTypes }

I would love for this to be able to inherit these propTypes from the related component

scottdickerson avatar Feb 15 '18 18:02 scottdickerson