Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/static/js/options/options/ct-notification.js
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
import { Fragment, createElement, Component } from '@wordpress/element'
2
+
3
+
const Notification = ({ option: { text = '', attr = {} } }) => (
4
+
<Fragment>
5
+
<div
6
+
className="ct-notification"
7
+
{...{
8
+
...(attr || {}),
9
+
}}
10
+
dangerouslySetInnerHTML={{
11
+
__html: text,
12
+
}}
13
+
/>
14
+
</Fragment>
15
+
)
16
+
17
+
Notification.renderingConfig = { design: 'none' }
18
+
19
+
export default Notification
20
+