15 lines
574 B
TypeScript
15 lines
574 B
TypeScript
type FeatureGuardPageProps = {
|
|
title: string
|
|
summary: string
|
|
}
|
|
|
|
export function FeatureGuardPage({ title, summary }: FeatureGuardPageProps) {
|
|
return (
|
|
<section className="rounded-2xl border border-stone-200 bg-white p-6 shadow-sm" data-testid="feature-not-enabled">
|
|
<p className="text-xs font-semibold uppercase tracking-[0.18em] text-stone-500">Coming soon</p>
|
|
<h1 className="mt-2 text-xl font-semibold tracking-tight text-stone-950">{title}</h1>
|
|
<p className="mt-2 max-w-2xl text-sm leading-6 text-stone-600">{summary}</p>
|
|
</section>
|
|
)
|
|
}
|