mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
59 lines
1.5 KiB
TypeScript
59 lines
1.5 KiB
TypeScript
import { PlusIcon } from "lucide-react"
|
|
|
|
import {
|
|
Avatar,
|
|
AvatarFallback,
|
|
AvatarGroup,
|
|
AvatarImage,
|
|
} from "@/styles/radix-nova/ui/avatar"
|
|
import { Button } from "@/styles/radix-nova/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/styles/radix-nova/ui/empty"
|
|
|
|
export function EmptyAvatarGroup() {
|
|
return (
|
|
<Empty className="flex-none border py-10">
|
|
<EmptyHeader>
|
|
<EmptyMedia>
|
|
<AvatarGroup className="grayscale">
|
|
<Avatar>
|
|
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
|
|
<AvatarFallback>CN</AvatarFallback>
|
|
</Avatar>
|
|
<Avatar>
|
|
<AvatarImage
|
|
src="https://github.com/maxleiter.png"
|
|
alt="@maxleiter"
|
|
/>
|
|
<AvatarFallback>LR</AvatarFallback>
|
|
</Avatar>
|
|
<Avatar>
|
|
<AvatarImage
|
|
src="https://github.com/evilrabbit.png"
|
|
alt="@evilrabbit"
|
|
/>
|
|
<AvatarFallback>ER</AvatarFallback>
|
|
</Avatar>
|
|
</AvatarGroup>
|
|
</EmptyMedia>
|
|
<EmptyTitle>No Team Members</EmptyTitle>
|
|
<EmptyDescription>
|
|
Invite your team to collaborate on this project.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent>
|
|
<Button size="sm">
|
|
<PlusIcon />
|
|
Invite Members
|
|
</Button>
|
|
</EmptyContent>
|
|
</Empty>
|
|
)
|
|
}
|