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

Function ChildComponent

packages/react-aria/test/focus/FocusScope.test.js:1720–1722  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

1718 describe('nested focus scopes', function () {
1719 it('should make child FocusScopes the active scope regardless of DOM structure', function () {
1720 function ChildComponent(props) {
1721 return ReactDOM.createPortal(props.children, document.body);
1722 }
1723
1724 function Test({show}) {
1725 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected