UNPKG

react-native-navigation

Version:

React Native Navigation - truly native navigation for iOS and Android

22 lines (21 loc) 677 B
"use strict"; import React, { Component } from 'react'; import { View } from 'react-native'; import { LayoutComponent } from "./LayoutComponent.js"; import { LayoutStore } from "../Stores/LayoutStore.js"; import { connect } from "../connect.js"; import { jsx as _jsx } from "react/jsx-runtime"; export const Modals = connect(class extends Component { render() { const children = LayoutStore.getModals(); return /*#__PURE__*/_jsx(View, { testID: 'MODALS', children: children.map(child => { return /*#__PURE__*/_jsx(LayoutComponent, { layoutNode: child }, child.nodeId); }) }); } }); //# sourceMappingURL=Modals.js.map