inital commit, very early alpha stage
This commit is contained in:
12
frontend/src/components/EmptyState.tsx
Normal file
12
frontend/src/components/EmptyState.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Inbox } from "lucide-react";
|
||||
|
||||
export function EmptyState({ title, body }: { title: string; body?: string }) {
|
||||
return (
|
||||
<div className="empty-state">
|
||||
<Inbox size={22} aria-hidden />
|
||||
<strong>{title}</strong>
|
||||
{body ? <p>{body}</p> : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user