Files
shadcn-ui/apps/v4/examples/base/empty-background.tsx
2026-03-02 12:49:00 +04:00

34 lines
881 B
TypeScript

import { Button } from "@/examples/base/ui/button"
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/examples/base/ui/empty"
import { IconBell } from "@tabler/icons-react"
import { RefreshCcwIcon } from "lucide-react"
export function EmptyMuted() {
return (
<Empty className="h-full bg-muted/30">
<EmptyHeader>
<EmptyMedia variant="icon">
<IconBell />
</EmptyMedia>
<EmptyTitle>No Notifications</EmptyTitle>
<EmptyDescription className="max-w-xs text-pretty">
You&apos;re all caught up. New notifications will appear here.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button variant="outline">
<RefreshCcwIcon data-icon="inline-start" />
Refresh
</Button>
</EmptyContent>
</Empty>
)
}