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

Method constructor

packages/react-dnd/src/createSourceFactory.js:41–45  ·  view source on GitHub ↗
(monitor)

Source from the content-addressed store, hash-verified

39
40 class Source {
41 constructor(monitor) {
42 this.monitor = monitor;
43 this.props = null;
44 this.component = null;
45 }
46
47 receiveProps(props) {
48 this.props = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected