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](https://overreacted.io/how-does-react-tell-a-class-from-a-function/))