woocommerce/plugins/woocommerce-admin/client/embedded.js

21 lines
429 B
JavaScript

/** @format */
/**
* External dependencies
*/
import { render } from '@wordpress/element';
import { Provider as SlotFillProvider } from 'react-slot-fill';
/**
* Internal dependencies
*/
import './stylesheets/_embedded.scss';
import { EmbedLayout } from './layout';
import 'wc-api/wp-data-store';
render(
<SlotFillProvider>
<EmbedLayout />
</SlotFillProvider>,
document.getElementById( 'woocommerce-embedded-root' )
);