MCPcopy Create free account
hub / github.com/callstack/react-theme-provider / Component

Class Component

src/__tests__/createTheming.test.js:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64 it('hoists non-react statics from the wrapped component', () => {
65 class Component extends React.Component {
66 static foo() {
67 return 'bar';
68 }
69
70 render() {
71 return null;
72 }
73 }
74 Component.hello = 'world';
75
76 const decorated = withTheme(Component);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…