@atlaskit/adf-utils
Version:
Set of utilities to traverse, modify and create ADF documents.
18 lines (17 loc) • 448 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.decisionItem = void 0;
var decisionItem = exports.decisionItem = function decisionItem(attrs) {
return function () {
for (var _len = arguments.length, content = new Array(_len), _key = 0; _key < _len; _key++) {
content[_key] = arguments[_key];
}
return {
type: 'decisionItem',
attrs: attrs,
content: content
};
};
};