woocommerce/plugins/woocommerce-blocks/assets/js/blocks/product-template/index.tsx

20 lines
321 B
TypeScript

/**
* External dependencies
*/
import { registerBlockType } from '@wordpress/blocks';
/**
* Internal dependencies
*/
import metadata from './block.json';
import edit from './edit';
import save from './save';
import icon from './icon';
import './style.scss';
registerBlockType( metadata, {
icon,
edit,
save,
} );