import { memo } from "@wordpress/element"; import { FocalPointPicker } from "@wordpress/components"; import "./editor.scss"; import { priceLink } from "../../blocks/shared/helpFn"; const SPFocalPointPicker = ({ label = "Focal Point", url = "", attributes, attributesKey, setAttributes, pro = false }) => { const focalPointHandler = (newValue) => { setAttributes({ [attributesKey]: newValue }); }; return ( <>