@wordpress/block-library
Version:
Block library for the WordPress editor.
21 lines (20 loc) • 709 B
JavaScript
;
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
let _wordpress_i18n = require("@wordpress/i18n");
let _wordpress_icons = require("@wordpress/icons");
// packages/block-library/src/navigation-link/variations.js
const variations = [{
name: "custom-link",
title: (0, _wordpress_i18n.__)("Custom Link"),
description: (0, _wordpress_i18n.__)("Add a custom link to your navigation."),
icon: _wordpress_icons.customLink,
attributes: { kind: "custom" },
isActive: (blockAttributes) => blockAttributes.kind === "custom",
isDefault: true,
scope: ["inserter"]
}];
exports.default = variations;
//# sourceMappingURL=variations.cjs.map