shoutem / theme

Style your React Native components on one place
Other
333 stars 91 forks source link

Undefined os not an object (evaluating "WrappedComponent.prototype.render" #47

Open JulianKingman opened 4 years ago

JulianKingman commented 4 years ago

Looks like this is already solved by this PR: https://github.com/shoutem/theme/pull/38

While we're at it, it looks like the correct way to check if a component is a class is this: Component.prototype.isReactComponent (per this)