import type { ReactNode } from "react";
export function PageContainer({ children }: Readonly<{ children: ReactNode }>) {
return
{children}
;
}
export function Hero({
actions,
description,
eyebrow,
title,
}: Readonly<{
actions?: ReactNode;
description: string;
eyebrow: string;
title: string;
}>) {
return (
{eyebrow}
{title}
{description}
{actions === undefined ? null : {actions}
}
);
}
export function ContentSection({
children,
description,
eyebrow,
heading,
}: Readonly<{
children: ReactNode;
description?: string;
eyebrow?: string;
heading: string;
}>) {
return (
{eyebrow === undefined ? null : {eyebrow}
}
{heading}
{description === undefined ? null : {description}
}
{children}
);
}
export function EmptyState({
action,
description,
title,
}: Readonly<{ action?: ReactNode; description: string; title: string }>) {
return (
{title}
{description}
{action}
);
}
export function FormField({
children,
hint,
label,
}: Readonly<{ children: ReactNode; hint?: string; label: string }>) {
return (
);
}
export function StatusBadge({ children }: Readonly<{ children: ReactNode }>) {
return {children};
}
export function Disclosure({
children,
summary,
}: Readonly<{ children: ReactNode; summary: string }>) {
return (
{summary}
{children}
);
}
export function Notification({
children,
tone = "info",
}: Readonly<{ children: ReactNode; tone?: "error" | "info" | "success" }>) {
const liveMode = tone === "error" ? "assertive" : "polite";
return (
{children}
);
}