woocommerce/plugins/woocommerce-admin/client/wp-admin-scripts/navigation-opt-out/index.js

19 lines
420 B
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import { render } from '@wordpress/element';
/**
* Internal dependencies
*/
import { NavigationOptOutContainer } from './container';
import './style.scss';
const navigationOptOutRoot = document.createElement( 'div' );
navigationOptOutRoot.setAttribute( 'id', 'navigation-opt-out-root' );
render(
<NavigationOptOutContainer />,
document.body.appendChild( navigationOptOutRoot )
);