mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
37 lines
795 B
TypeScript
37 lines
795 B
TypeScript
import {
|
|
Button,
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyHeader,
|
|
EmptyAction,
|
|
EmptyDescription,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
Text,
|
|
} from "@lcui/react";
|
|
import { Alert, ArrowSync } from "@lcui/fluent-icons";
|
|
|
|
export default function Example() {
|
|
return (
|
|
<Empty className="h-full w-full bg-muted/30">
|
|
<EmptyHeader>
|
|
<EmptyMedia variant="icon">
|
|
<Alert />
|
|
</EmptyMedia>
|
|
<EmptyTitle>No Notifications</EmptyTitle>
|
|
<EmptyDescription>
|
|
You're all caught up. New notifications will appear here.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent>
|
|
<EmptyAction>
|
|
<Button variant="outline">
|
|
<ArrowSync />
|
|
<Text>Refresh</Text>
|
|
</Button>
|
|
</EmptyAction>
|
|
</EmptyContent>
|
|
</Empty>
|
|
);
|
|
}
|