import Link from "next/link";
import type { ReactNode } from "react";
export function Section({ title, action, children, className = "" }: { title: ReactNode; action?: { href: string; label: string }; children: ReactNode; className?: string }) {
return (
{title}
{action && {action.label} →}
{label}
{value}
{sub &&{sub}
}{title}
{hint &&{hint}
}{action && {action.label}}{children}
; } export function Tabs({ items, current, onChange }: { items: { id: string; label: string }[]; current: string; onChange: (id: string) => void }) { return (