datajunction-ui
Version:
DataJunction UI
21 lines (17 loc) • 430 B
JSX
/**
* Asynchronously loads the component for the Node page
*/
import * as React from 'react';
import { lazyLoad } from '../../../utils/loadable';
export const LazyAddEditNodePage = props => {
return lazyLoad(
() => import('./index'),
module => module.AddEditNodePage,
{
fallback: <div></div>,
},
)(props);
};
export const AddEditNodePage = props => {
return <LazyAddEditNodePage {...props} />;
};