QC Job
# fix - Loading card - Loading button - Size image - Mandatori form - Share wa ## No Issuu
This commit is contained in:
25
src/app_modules/component_global/loading_card.tsx
Normal file
25
src/app_modules/component_global/loading_card.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
"use client";
|
||||
|
||||
import { Overlay, Center, Loader } from "@mantine/core";
|
||||
|
||||
export default function ComponentGlobal_CardLoadingOverlay({
|
||||
size,
|
||||
variant,
|
||||
}: {
|
||||
size?: number;
|
||||
variant?: any;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Overlay h={"100%"} opacity={0.1}>
|
||||
<Center h={"100%"}>
|
||||
<Loader
|
||||
variant={variant ? variant : "dots"}
|
||||
size={size ? size : 20}
|
||||
color="gray"
|
||||
/>
|
||||
</Center>
|
||||
</Overlay>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user