UNPKG

react-native-navigation

Version:

React Native Navigation - truly native navigation for iOS and Android

18 lines (17 loc) 540 B
"use strict"; import React, { Component } from 'react'; import { LayoutComponent } from "./LayoutComponent.js"; import { connect } from "../connect.js"; import { jsx as _jsx } from "react/jsx-runtime"; export const Stack = connect(class extends Component { render() { const children = this.props.layoutNode.children; return children.map((child, i) => { return /*#__PURE__*/_jsx(LayoutComponent, { layoutNode: child, backButton: i > 0 }, child.nodeId); }); } }); //# sourceMappingURL=Stack.js.map