import './style.scss'; import { registerBlockType } from '@wordpress/blocks'; import { ReactComponent as ElementIcon } from '../../assets/admin/images/icon-gutenberg.svg'; import metadata from './block.json'; import deprecated from './deprecated'; import edit from './edit'; import save from './save'; import transforms from './transforms'; import variations from './variations'; const { name } = metadata; const settings = { icon: { foreground: '#2540CC', src: , }, example: { attributes: { preview_image_example: 'true', }, }, variations, edit, save, transforms, deprecated, }; registerBlockType(name, settings);