Closed
Description
As discussed in this failing test case
I think that it would be great to support the following type of pattern:
const propTypes = {
muiTheme: PropTypes.object.isRequired,
className: PropTypes.string,
};
const TextFieldLabel = (props) => {
return (
<div />
);
};
TextFieldLabel.propTypes = propTypes
However, it's not simple, it requires to follow variable reference.
Metadata
Metadata
Assignees
Labels
No labels