react-native-web
Version:
React Native for Web
18 lines (17 loc) • 511 B
Flow
/**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import * as React from 'react';
import { createPortal } from 'react-dom';
import canUseDOM from '../../modules/canUseDom';
export type ModalPortalProps = {|
children: any
|};
declare function ModalPortal(props: ModalPortalProps): React.Node;
export default ModalPortal;