@wordpress/block-library
Version:
Block library for the WordPress editor.
44 lines (43 loc) • 926 B
JavaScript
// packages/block-library/src/comments/edit/template.js
const TEMPLATE = [
["core/comments-title"],
[
"core/comment-template",
{},
[[
"core/columns",
{},
[[
"core/column",
{ width: "40px" },
[["core/avatar", {
size: 40,
style: { border: { radius: "20px" } }
}]]
], [
"core/column",
{},
[
["core/comment-author-name", { fontSize: "small" }],
[
"core/group",
{
layout: { type: "flex" },
style: { spacing: { margin: {
top: "0px",
bottom: "0px"
} } }
},
[["core/comment-date", { fontSize: "small" }], ["core/comment-edit-link", { fontSize: "small" }]]
],
["core/comment-content"],
["core/comment-reply-link", { fontSize: "small" }]
]
]]
]]
],
["core/comments-pagination"],
["core/post-comments-form"]
];
export { TEMPLATE as default };
//# sourceMappingURL=template.mjs.map