import type { ReactNode } from "react"; // One shared list style for every former
-joined list in the live file. export function DataList({ items, empty }: { items: ReactNode[]; empty?: string }) { if (!items.length) return
{empty || "(暂无)"}
; return ; } export function DataListRaw({ children }: { children: ReactNode }) { return ; } export function StatusPill({ status }: { status?: string }) { return {status || ""}; }