PluginProbe
Sendy / 3.4.6
Sendy v3.4.6
3.4.6 3.4.7 trunk 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 All 32 releases
sendy / src / edit.js

edit.js in Sendy 3.4.6, at src/edit.js

25 lines 577 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { ValidatedTextInput } from '@woocommerce/blocks-checkout';
2 import { useBlockProps } from '@wordpress/block-editor';
3
4 import { __ } from '@wordpress/i18n';
5
6 export const Edit = ({ attributes, setAttributes }) => {
7 const blockProps = useBlockProps();
8 return (
9 <div {...blockProps}>
10 <h3 className="wc-block-components-title">Pick-up punt</h3>
11
12 <button onClick={(e) => e.preventDefault()}>
13 Selecteer pick-up punt
14 </button>
15
16 <p>
17 <small>
18 Dit blok is alleen zichtbaar bij verzending naar een pick-up
19 punt
20 </small>
21 </p>
22 </div>
23 );
24 };
25