(props)
| 15 | import {render} from '@react-spectrum/test-utils-internal'; |
| 16 | |
| 17 | function ModalDOM(props) { |
| 18 | let {modalProps} = useModal(); |
| 19 | return ( |
| 20 | <div data-testid={props.modalId || 'modal'} {...modalProps}> |
| 21 | {props.children} |
| 22 | </div> |
| 23 | ); |
| 24 | } |
| 25 | |
| 26 | function Modal(props) { |
| 27 | return ( |
nothing calls this directly
no test coverage detected