MCPcopy Create free account
hub / github.com/gre/gl-react / constructor

Method constructor

packages/tests/utils.js:21–24  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

19 height: number;
20 getPixels: () => any;
21 constructor(props) {
22 invariant(props.getPixels, "FakeTexture: getPixels is required");
23 Object.assign(this, props);
24 }
25}
26
27export class FakeTextureElement extends React.Component {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected