UNPKG

@yoroi/common

Version:
19 lines (18 loc) 472 B
"use strict"; import * as React from 'react'; import { Text, View } from 'react-native'; import { jsx as _jsx } from "react/jsx-runtime"; export const SuspenseBoundary = ({ children }) => { return /*#__PURE__*/_jsx(React.Suspense, { fallback: /*#__PURE__*/_jsx(View, { testID: "suspending", children: /*#__PURE__*/_jsx(Text, { children: "suspending" }) }), children: children }); }; //# sourceMappingURL=SuspenseBoundary.js.map