@wordpress/block-library
Version:
Block library for the WordPress editor.
29 lines (27 loc) • 631 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = save;
var _blockEditor = require("@wordpress/block-editor");
var _jsxRuntime = require("react/jsx-runtime");
/**
* WordPress dependencies
*/
function save({
attributes: {
height,
width
}
}) {
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
..._blockEditor.useBlockProps.save({
style: {
height: (0, _blockEditor.getSpacingPresetCssVar)(height),
width: (0, _blockEditor.getSpacingPresetCssVar)(width)
},
'aria-hidden': true
})
});
}
//# sourceMappingURL=save.native.js.map
;