WIP! A BB-style forum, on the ATmosphere!
We're still working... we'll be back soon when we have something to show off!
node
typescript
hono
htmx
atproto
1import type { FC, Child } from "hono/jsx";
2
3interface EmptyStateProps {
4 message: string;
5 action?: Child;
6}
7
8export const EmptyState: FC<EmptyStateProps> = ({ message, action }) => (
9 <div class="empty-state">
10 <p>{message}</p>
11 {action && <div class="empty-state__action">{action}</div>}
12 </div>
13);