UNPKG

@atlaskit/adf-utils

Version:

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

9 lines 225 B
import { applyMark } from '../utils/apply-mark'; export var textColor = function textColor(attrs) { return function (maybeNode) { return applyMark({ type: 'textColor', attrs: attrs }, maybeNode); }; };