Kannaj / 42EXP

Find teams to work together with on projects
https://42exp.com/
Other
21 stars 7 forks source link

react-proptypes doesnt seem to work #26

Open Kannaj opened 7 years ago

Kannaj commented 7 years ago
MyComponent.PropTypes = {
  foo: PropTypes.func.isRequired
};

<MyComponent />

This should throw a warning in the console. But it doesnt