| 1 |
function withContext(ComposedComponent) { |
| 2 |
var _class; |
| 3 |
return _class = class WithContext extends Component {}, _class.propTypes = { |
| 4 |
context: PropTypes.shape({ |
| 5 |
addCss: PropTypes.func, |
| 6 |
setTitle: PropTypes.func, |
| 7 |
setMeta: PropTypes.func |
| 8 |
}) |
| 9 |
}, _class; |
| 10 |
} |