first commit
This commit is contained in:
8
src/components/shared/EmptyState.tsx
Normal file
8
src/components/shared/EmptyState.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user