import { createElement } from '@wordpress/element' import { __ } from 'ct-i18n' import { registerBlockType } from '@wordpress/blocks' import { InnerBlocks } from '@wordpress/block-editor' import Edit from './Edit' registerBlockType('blocksy/widgets-wrapper', { apiVersion: 3, title: __('Widgets Wrapper', 'blocksy'), icon: { src: ( ), }, category: 'blocksy-blocks', isHidden: true, edit: Edit, save: () => , attributes: { heading: { type: 'string', default: __('Socials', 'blocksy'), }, block: { type: 'string', default: 'blocksy/socials', }, hasDescription: { type: 'boolean', default: false, }, description: { type: 'string', default: '', }, blockAttrs: { type: 'object', default: {}, }, isCollapsible: { type: 'boolean', default: false, }, defaultExpanded: { type: 'boolean', default: true, }, }, supports: { className: false, spacing: { margin: true, __experimentalDefaultControls: { margin: true, }, }, }, variations: [], })