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