diff --git a/plugins/carhop-blocks/blocks/decorative-shapes/src/block.json b/plugins/carhop-blocks/blocks/decorative-shapes/src/block.json
index afce342..0bda5da 100644
--- a/plugins/carhop-blocks/blocks/decorative-shapes/src/block.json
+++ b/plugins/carhop-blocks/blocks/decorative-shapes/src/block.json
@@ -15,5 +15,11 @@
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
- "viewScript": "file:./view.js"
+ "viewScript": "file:./view.js",
+ "attributes": {
+ "variant": {
+ "type": "string",
+ "default": "medium"
+ }
+ }
}
\ No newline at end of file
diff --git a/plugins/carhop-blocks/blocks/decorative-shapes/src/edit.js b/plugins/carhop-blocks/blocks/decorative-shapes/src/edit.js
index 2311ef1..4029a6a 100644
--- a/plugins/carhop-blocks/blocks/decorative-shapes/src/edit.js
+++ b/plugins/carhop-blocks/blocks/decorative-shapes/src/edit.js
@@ -1,13 +1,37 @@
import { __ } from "@wordpress/i18n";
-import { useBlockProps, InnerBlocks } from "@wordpress/block-editor";
+import {
+ useBlockProps,
+ InnerBlocks,
+ InspectorControls,
+} from "@wordpress/block-editor";
import "./editor.scss";
import Shapes from "./Shapes";
-export default function Edit() {
+import {
+ __experimentalToggleGroupControl as ToggleGroupControl,
+ __experimentalToggleGroupControlOption as ToggleGroupControlOption,
+ PanelBody,
+} from "@wordpress/components";
+export default function Edit({ attributes, setAttributes }) {
+ const { variant } = attributes;
return (
<>
+