UNPKG

@atlaskit/adf-utils

Version:

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

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