Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T6719/input.js

raw
1 function withContext(ComposedComponent) {
2 return class WithContext extends Component {
3
4 static propTypes = {
5 context: PropTypes.shape(
6 {
7 addCss: PropTypes.func,
8 setTitle: PropTypes.func,
9 setMeta: PropTypes.func,
10 }
11 ),
12 };
13 };
14 }