import { Component, For } from "solid-js"; import { DecisionTree } from "@molgenis/vip-report-api"; import { DecisionTreeNode } from "./DecisionTreeNode"; export type DecisionTreePath = string[]; export const DecisionTreePath: Component<{ decisionTree: DecisionTree; path: DecisionTreePath; }> = (props) => { return ( <> {(nodeId, index) => ( <> {index() !== 0 && (
{"\u2193"}
)} )}
); };