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