{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "buntywp/toggle-content",
  "version": "1.0.0",
  "title": "Toggle Content",
  "category": "widgets",
  "textdomain": "toggle-content",
  "icon": "editor-table",
  "description": "A block with a customizable toggle switch and two content areas.",
  "attributes": {
    "labelLeft": {
      "type": "string",
      "default": "Left"
    },
    "labelRight": {
      "type": "string",
      "default": "Right"
    }
  },
  "supports": {
    "html": false,
    "interactivity": true,
    "shadow": true,
    "color": {
      "background": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "__experimentalBorder": {
      "radius": true,
      "color": true,
      "width": true,
      "style": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true
      }
    }
  },
  "allowedBlocks": [
    "buntywp/right-toggle-content",
    "buntywp/left-toggle-content"
  ],
  "editorStyle": "file:./index.css",
  "editorScript": "file:./index.js",
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "viewScriptModule": "file:./view.js"
}