UNPKG

ig-typedoc-theme

Version:

infragistics theme for typedoc API documentation with versioning and localization

5 lines (4 loc) 377 B
import { JSX } from 'typedoc'; export const hierarchy = (context, props) => (JSX.createElement("ul", { class: "tsd-hierarchy" }, props.types.map((item, i, l) => (JSX.createElement("li", null, props.isTarget ? JSX.createElement("span", { class: "target" }, item.toString()) : context.type(item), i === l.length - 1 && !!props.next && context.hierarchy(props.next))))));