@wordpress/edit-post
Version:
Edit Post module for WordPress.
24 lines (20 loc) • 645 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _element = require("@wordpress/element");
const Section = ({
description,
title,
children
}) => (0, _element.createElement)("section", {
className: "edit-post-preferences-modal__section"
}, (0, _element.createElement)("h2", {
className: "edit-post-preferences-modal__section-title"
}, title), description && (0, _element.createElement)("p", {
className: "edit-post-preferences-modal__section-description"
}, description), children);
var _default = Section;
exports.default = _default;
//# sourceMappingURL=section.js.map