UNPKG

@atlaskit/adf-utils

Version:

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

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