9 lines
347 B
TypeScript
9 lines
347 B
TypeScript
export function EmptyState({ title, text }: { title: string; text?: string }) {
|
|
return (
|
|
<div className="rounded-lg border border-dashed border-white/10 bg-white/[0.03] p-6 text-center">
|
|
<p className="font-medium text-slate-100">{title}</p>
|
|
{text ? <p className="mt-1 text-sm text-slate-400">{text}</p> : null}
|
|
</div>
|
|
);
|
|
}
|