mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 14:16:08 +00:00
32 lines
773 B
TypeScript
32 lines
773 B
TypeScript
import { Button } from "@/styles/base-nova/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/styles/base-nova/ui/empty"
|
|
import { Spinner } from "@/styles/base-nova/ui/spinner"
|
|
|
|
export function SpinnerEmpty() {
|
|
return (
|
|
<Empty className="w-full">
|
|
<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>
|
|
)
|
|
}
|