mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-28 17:08:46 +00:00
12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { FocusableProvider } from 'stremio-common';
|
|
|
|
const Modal = (props) => ReactDOM.createPortal(
|
|
<FocusableProvider>
|
|
<div {...props} />
|
|
</FocusableProvider>,
|
|
Modal.container
|
|
);
|
|
|
|
export default Modal;
|