mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
15 lines
296 B
TypeScript
15 lines
296 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} underlayClickExits>
|
|
Hello world
|
|
</AriaModal>,
|
|
appContainer
|
|
);
|