2022-10-04 12:02:28 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
2022-12-23 12:49:53 +00:00
|
|
|
import { Icon, store } from '@wordpress/icons';
|
2022-12-21 15:38:40 +00:00
|
|
|
import { registerBlockType } from '@wordpress/blocks';
|
2022-10-04 12:02:28 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import { Edit, Save } from './edit';
|
|
|
|
import attributes from './attributes';
|
|
|
|
|
2022-12-21 15:38:40 +00:00
|
|
|
registerBlockType( 'woocommerce/checkout-pickup-options-block', {
|
2022-10-04 12:02:28 +00:00
|
|
|
icon: {
|
|
|
|
src: (
|
|
|
|
<Icon
|
2022-12-23 12:49:53 +00:00
|
|
|
icon={ store }
|
2022-10-04 12:02:28 +00:00
|
|
|
className="wc-block-editor-components-block-icon"
|
|
|
|
/>
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes,
|
|
|
|
edit: Edit,
|
|
|
|
save: Save,
|
|
|
|
} );
|