change format all file
This commit is contained in:
@@ -3,16 +3,16 @@ import { Skeleton } from "@mui/material";
|
||||
function MultilineLoading({ loading, width, height, children, line }) {
|
||||
return loading
|
||||
? Array(line)
|
||||
.fill({})
|
||||
.map((_, idx) => (
|
||||
<Skeleton
|
||||
className={`${width === "full" ? "!w-full" : ""} !my-2`}
|
||||
variant="rounded"
|
||||
height={height}
|
||||
width={width}
|
||||
key={idx}
|
||||
/>
|
||||
))
|
||||
.fill({})
|
||||
.map((_, idx) => (
|
||||
<Skeleton
|
||||
className={`${width === "full" ? "!w-full" : ""} !my-2`}
|
||||
variant="rounded"
|
||||
height={height}
|
||||
width={width}
|
||||
key={idx}
|
||||
/>
|
||||
))
|
||||
: children;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user