UNPKG

@atlaskit/adf-utils

Version:

Set of utilities to traverse, modify and create ADF documents.

15 lines (14 loc) 362 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.alignment = void 0; var _applyMark = require("../utils/apply-mark"); var alignment = exports.alignment = function alignment(attrs) { return function (maybeNode) { return (0, _applyMark.applyMark)({ type: 'alignment', attrs: attrs }, maybeNode); }; };