@atlaskit/adf-utils
Version:
Set of utilities to traverse, modify and create ADF documents.
12 lines • 330 B
JavaScript
export var bodiedSyncBlock = function bodiedSyncBlock(attrs) {
return function () {
for (var _len = arguments.length, content = new Array(_len), _key = 0; _key < _len; _key++) {
content[_key] = arguments[_key];
}
return {
type: 'bodiedSyncBlock',
attrs: attrs,
content: content
};
};
};