@atlaskit/adf-utils
Version:
Set of utilities to traverse, modify and create ADF documents.
15 lines (14 loc) • 347 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.subsup = void 0;
var _applyMark = require("../utils/apply-mark");
var subsup = exports.subsup = function subsup(attrs) {
return function (maybeNode) {
return (0, _applyMark.applyMark)({
type: 'subsup',
attrs: attrs
}, maybeNode);
};
};