Files
NapCatQQ/.pnpm-store/v3/files/23/9370cfbbdbb72f490e48f30e7b1e17e7efe8e646241b6d8f7ce829fabb1001a4b39e36227d4f5cf9ee77b79585370ef6e78d69a93b8e36c0cfb8cb9fc97fbc
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

17 lines
395 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = getImplicitRoleForLink;
var _jsxAstUtils = require("jsx-ast-utils");
/**
* Returns the implicit role for a link tag.
*/
function getImplicitRoleForLink(attributes) {
if ((0, _jsxAstUtils.getProp)(attributes, 'href')) {
return 'link';
}
return '';
}
module.exports = exports.default;