UNPKG

@ea-lab/reactive-json

Version:

A REACT-based lib that transforms JSON (or YAML) into interactive HTML markup.

13 lines (12 loc) 477 B
import { jsx as n } from "react/jsx-runtime"; import { ActionDependant as m } from "../../../engine/Actions.js"; import { TemplateContext as p } from "../../../engine/TemplateContext.js"; import { useContext as a } from "react"; const C = ({ props: o }) => { var t, e; const r = a(p); return /* @__PURE__ */ n(m, { ...o, children: (e = (t = r.sortableTreeData)._treeAddCollapseButton) == null ? void 0 : e.call(t) }); }; export { C as SortableTreeItemCollapseButton };