import { Component, Show } from "solid-js"; import { Abbr } from "../../Abbr"; import { ValueCategorical } from "../../../utils/vcf.ts"; export const FieldConsequence: Component<{ value: ValueCategorical[] }> = (props) => { return ( 0}> {props.value[0]?.label} {props.value.length > 1 && ( <> ,{" "} csq !== null) .map((csq) => csq.label) .join(", ")} value="…" /> )} ); };