| 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 |
|