@wordpress/block-library
Version:
Block library for the WordPress editor.
26 lines (24 loc) • 515 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _blocks = require("@wordpress/blocks");
/**
* WordPress dependencies
*/
const transforms = {
to: [{
type: 'block',
blocks: ['core/post-comments-count'],
transform: ({
textAlign
}) => {
return (0, _blocks.createBlock)('core/post-comments-count', {
textAlign
});
}
}]
};
var _default = exports.default = transforms;
//# sourceMappingURL=transforms.js.map
;