woocommerce/plugins/woocommerce-admin/client/navigation/index.js

26 lines
550 B
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import { SlotFillProvider } from '@wordpress/components';
import { PluginArea } from '@wordpress/plugins';
import { withNavigationHydration } from '@woocommerce/data';
/**
* Internal dependencies
*/
import './stylesheets/index.scss';
import Container from './components/container';
const Navigation = () => (
<SlotFillProvider>
<Container />
<PluginArea />
</SlotFillProvider>
);
const HydratedNavigation = withNavigationHydration( window.wcNavigation )(
Navigation
);
export default HydratedNavigation;