Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import AriaModal from 'react-aria-modal';
import * as React from 'react';
import { render } from 'react-dom';
declare const appContainer: HTMLElement;
const onExit = () => {};
render(
<p id="describedby">Hello world</p>
,
appContainer
);
const DisplacedModal = AriaModal.renderTo('#some-id');
render(
<p id="describedby">Hello world</p>
,
appContainer
);