mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00: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
|
|
);
|