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

Method constructor

packages/react-dnd/src/createTargetFactory.js:29–33  ·  view source on GitHub ↗
(monitor)

Source from the content-addressed store, hash-verified

27
28 class Target {
29 constructor(monitor) {
30 this.monitor = monitor;
31 this.props = null;
32 this.component = null;
33 }
34
35 receiveProps(props) {
36 this.props = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected