# extendify/3.1.6/src/Notifications/notifications.js

Extendify, version 3.1.6. 19 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.6/code/src/Notifications/notifications.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.6/raw/src/Notifications/notifications.js
- Modified: 2026-08-20T19:51:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.1.6/code/src/Notifications/notifications.js#L10-L20`.

```javascript
import { render } from '@shared/lib/dom';
import domReady from '@wordpress/dom-ready';
import { Notification } from './Notification';
import './notifications.css';

domReady(() => {
	for (const node of document.querySelectorAll('[data-ext-notification]')) {
		const notification = <Notification slot={node.dataset.slot} />;
		render(
			node.hasAttribute('data-admin-notice') ? (
				<div className="mt-10 mr-5">{notification}</div>
			) : (
				notification
			),
			node,
		);
	}
});

```
