--- import Li from "@components/Li.astro"; import type { ComponentPropsBase } from "@interfaces/components.ts"; import type { lineItem } from "@interfaces/ul-li.ts"; interface Props extends ComponentPropsBase { lineItems?: lineItem[]; depth?: number; } const { class: className, lineItems, depth = 0 } = Astro.props; ---
    0 ? "ps-3" : false]} > { lineItems ? ( lineItems.map((line) => (
  1. {line.item} {line.subItems ? ( ) : undefined}
  2. )) ) : ( ) }