File "app.js"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/better-wp-security/core/modules/core/entries/admin-notices/app.js
File size: 458 bytes
MIME-type: text/x-java
Charset: utf-8

/**
 * WordPress dependencies
 */
import { createPortal } from '@wordpress/element';
import { Popover, SlotFillProvider } from '@wordpress/components';

/**
 * Internal dependencies
 */
import '@ithemes/security.core.admin-notices-api';
import Toolbar from './components/toolbar';

function App( { portalEl } ) {
	return (
		<SlotFillProvider>
			{ createPortal( <Popover.Slot />, portalEl ) }
			<Toolbar />
		</SlotFillProvider>
	);
}

export default App;