74c3fcd45f
Provide stable server-side list queries and focused chart controls so operators can inspect large datasets without misleading partial-page ordering.
19 lines
331 B
TypeScript
19 lines
331 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
export function ChartToolbar({
|
|
children,
|
|
label,
|
|
}: {
|
|
children: ReactNode;
|
|
label: string;
|
|
}) {
|
|
return (
|
|
<div
|
|
className="flex flex-wrap items-end gap-3 border-b border-border bg-surface-muted/25 px-5 py-4"
|
|
aria-label={label}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|