UNPKG

@resourge/react-fetch

Version:

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

24 lines (21 loc) 544 B
/** * react-fetch v1.41.3 * * Copyright (c) resourge. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ import { Suspense } from 'react'; import LoadingFallback from './LoadingFallback'; import { jsx } from 'react/jsx-runtime'; const LoadingSuspense = ({ children }) => jsx(Suspense, { fallback: jsx(LoadingFallback, {}), children: children }); export { LoadingSuspense as default }; //# sourceMappingURL=LoadingSuspense.js.map