Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { renderer } = this.context
const { extend, _felaTheme, _felaRules, ...otherProps } = this.props
const allRules = [rules]
if (_felaRules) {
allRules.push(_felaRules)
}
if (extend) {
allRules.push(extend)
}
const combinedRules = combineMultiRules(...allRules)
const preparedRules = combinedRules(
{
...otherProps,
theme: _felaTheme,
},
renderer
)
if (component._isFelaComponent) {
return createElement(component, {
_felaRules: combinedRules,
...otherProps,
})
}
const styles = objectReduce(