Files
wordpress-preseed/wp-content/plugins/jetpack/wp-cli-templates/block-edit-js.mustache
2019-10-24 00:12:05 +02:00

28 lines
537 B
Plaintext

/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { Component } from '@wordpress/element';
/**
* Internal dependencies
*/
import './editor.scss';
class {{ className }}Edit extends Component {
/**
* Write the block editor UI.
*
* @returns {object} The UI displayed when user edits this block.
*/
render() {
const { attributes, setAttributes } = this.props;
return (
<p>{ __( 'Block edit goes here', 'jetpack' ) }</p>
);
}
}
export default {{ className }}Edit;