Closed Nurymka closed 7 years ago
Using the spread operator when passing propTypes of one component to another causes the linter to give a parsing error. The app still builds, so it should be a bug in the library.
ComponentOne.propTypes = { ...ComponentTwo.propTypes }
I was unable to reproduce. should be fixed by now.
Using the spread operator when passing propTypes of one component to another causes the linter to give a parsing error. The app still builds, so it should be a bug in the library.