MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / Loadable

Function Loadable

packages/ui/src/ui-component/loading/Loadable.jsx:8–15  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

6// ==============================|| LOADABLE - LAZY LOADING ||============================== //
7
8const Loadable = (Component) =>
9 function WithLoader(props) {
10 return (
11 <Suspense fallback={<Loader />}>
12 <Component {...props} />
13 </Suspense>
14 )
15 }
16
17export default Loadable

Callers 5

AuthRoutes.jsxFile · 0.85
ChatbotRoutes.jsxFile · 0.85
CanvasRoutes.jsxFile · 0.85
MainRoutes.jsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected