Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a deterministic verification core: clinical-trial claims checked against ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI recomputed in code, oracle-tested), code-enforced exact-span grounding, and multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing at scale (unpdf + Docling), agentic workflows, Claude Science connector, compliance/audit, billing, public API, and more. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
600 B
TypeScript
21 lines
600 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
// Shared empty-state placeholder used across RBAC list/grid views.
|
|
export function EmptyState({
|
|
title,
|
|
description,
|
|
action,
|
|
}: {
|
|
title: string;
|
|
description: string;
|
|
action?: ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="rounded-lg border border-dashed border-ink/15 bg-paper px-6 py-12 text-center">
|
|
<p className="text-sm font-medium text-ink/70">{title}</p>
|
|
<p className="mx-auto mt-1 max-w-md text-sm text-ink/40">{description}</p>
|
|
{action ? <div className="mt-4 flex justify-center">{action}</div> : null}
|
|
</div>
|
|
);
|
|
}
|