import type { ReactNode } from "react"; import { cn } from "../../lib/cn"; export function List({ items, }: { items: { meta?: ReactNode; title: ReactNode }[]; }) { return (
{items.map((item, index) => (
0 ? "border-t border-[var(--uhuru-border-subtle)]" : "", )} key={index} >
{item.title}
{item.meta ?
{item.meta}
: null}
))}
); }