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.textColor = void 0; var _applyMark = require("../utils/apply-mark"); var textColor = exports.textColor = function textColor(attrs) { return function (maybeNode) { return (0, _applyMark.applyMark)({ type: 'textColor', attrs: attrs }, maybeNode); }; };