woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-pickup-options-block/index.tsx

26 lines
478 B
TypeScript

/**
* External dependencies
*/
import { Icon, shipping } from '@wordpress/icons';
import { registerBlockType } from '@wordpress/blocks';
/**
* Internal dependencies
*/
import { Edit, Save } from './edit';
import attributes from './attributes';
registerBlockType( 'woocommerce/checkout-pickup-options-block', {
icon: {
src: (
<Icon
icon={ shipping }
className="wc-block-editor-components-block-icon"
/>
),
},
attributes,
edit: Edit,
save: Save,
} );