Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return {
childContextTypes: {
...childContextTypes,
[THEME_CHANNEL]: PropTypes.object,
renderer: PropTypes.object,
},
contextTypes: {
...contextTypes,
[THEME_CHANNEL]: PropTypes.object,
renderer: PropTypes.object,
},
context: {
...context,
renderer,
[THEME_CHANNEL]: theme ? createTheme(theme) : null,
},
...otherOptions,
}
}