@keyframes spinner__animation{0%{animation-timing-function:cubic-bezier(.5856,.0703,.4143,.9297);transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes loading__animation{to{transform:translateX(100%)}}:where(div[data-block-name="woocommerce/legacy-template"]){margin-left:auto;margin-right:auto;max-width:1000px} /** * WordPress dependencies */ import { __ } from "@wordpress/i18n"; import { memo } from "@wordpress/element"; /** * Internal depencencies */ import Inspector from "./inspector"; import Style from "./style"; import defaultAttributes from './attributes'; import { EBDisplayIcon, BlockProps, withBlockContext, EBButton } from "@essential-blocks/controls"; import { BUTTON_ONE_KEYS, BUTTON_TWO_KEYS } from "./constants/constants"; function Edit(props) { const { attributes, isSelected } = props; const { blockId, preset, innerButtonText, innerButtonIcon, showConnector, connectorType, classHook, } = attributes; // you must declare this variable const enhancedProps = { ...props, blockPrefix: 'eb-button-group', style: