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

Method constructor

packages/react-aria/src/focus/FocusScope.tsx:1113–1115  ·  view source on GitHub ↗
(props: {scopeRef: ScopeRef})

Source from the content-addressed store, hash-verified

1111 public contain = false;
1112
1113 constructor(props: {scopeRef: ScopeRef}) {
1114 this.scopeRef = props.scopeRef;
1115 }
1116 addChild(node: TreeNode): void {
1117 this.children.add(node);
1118 node.parent = this;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected