import { cn } from "@/lib/utils"; // The parts of a lit list that need no client JS (lit-list.tsx is the client // half): a LINE, a GROUP of lines under a head, and a line's ACTIONS, which show // on the lit line. Server components render these straight into a . export function LitLine({ id, initial = false, className, children, ...props }: Omit, "id"> & { /** Announced in the list's `lit` event. */ id?: string; /** Lit on load (beats the list's `initial` index). */ initial?: boolean; }) { return (
{children}
); } /** A line's actions: shown on the lit line, and on hover or keyboard focus. */ export function LitActions({ className, ...props }: React.ComponentProps<"div">) { return
; } /** Only on the lit line (the cite thread: on every row it was a barcode). */ export function LitOnly({ className, ...props }: React.ComponentProps<"div">) { return
; } export function LitGroup({ title, count, note, className, children, ...props }: Omit, "title"> & { title: React.ReactNode; count?: number | string; note?: React.ReactNode; }) { return (

{title}

{count !== undefined && {count}} {note && {note}}
{children}
); }