File "placeholder.js"

Full path: /home/satitravel/public_html/wp-content/plugins/foogallery/gutenberg/src/block/edit/components/placeholder.js
File size: 433 B
MIME-type: text/plain
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

import classnames from 'classnames';

const { __ } = wp.i18n;
const { Component } = wp.element;
const { Placeholder } = wp.components;

export default class FooGalleryEditPlaceholder extends Component {
	render(){
		const { className, children, ...props } = this.props;
		return (
				<Placeholder className={ classnames("editor-media-placeholder", className) } {...props}>
					{children}
				</Placeholder>
		);
	}
}