Let's say a have this component:
class MyComponent extends React.Component {
// ...
}
MyComponent.propTypes = {
name: React.PropTypes.string,
onChange: React.PropTypes.func
};
How can I tell what are the possible args that onChange is called with?
<MyComponent name="bar" onChange={(iDontKnowWhatsHere) => {}} />