mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
15 lines
342 B
TypeScript
15 lines
342 B
TypeScript
import AriaModal from 'react-aria-modal';
|
|
import * as React from 'react';
|
|
import { render } from 'react-dom';
|
|
|
|
declare const appContainer: HTMLElement;
|
|
|
|
const onExit = () => {};
|
|
|
|
render(
|
|
<AriaModal onExit={onExit} titleId="describedby" underlayClickExits>
|
|
<p id="describedby">Hello world</p>
|
|
</AriaModal>,
|
|
appContainer
|
|
);
|