mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
32 lines
790 B
TypeScript
32 lines
790 B
TypeScript
import { Button } from "@/styles/radix-nova/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/styles/radix-nova/ui/empty"
|
|
import { Spinner } from "@/styles/radix-nova/ui/spinner"
|
|
|
|
export function SpinnerEmpty() {
|
|
return (
|
|
<Empty className="w-full border md:p-6">
|
|
<EmptyHeader>
|
|
<EmptyMedia variant="icon">
|
|
<Spinner />
|
|
</EmptyMedia>
|
|
<EmptyTitle>Processing your request</EmptyTitle>
|
|
<EmptyDescription>
|
|
Please wait while we process your request. Do not refresh the page.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent>
|
|
<Button variant="outline" size="sm">
|
|
Cancel
|
|
</Button>
|
|
</EmptyContent>
|
|
</Empty>
|
|
)
|
|
}
|