add prettier formatter to all file
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import { Skeleton } from '@mui/material'
|
||||
import { Skeleton } from "@mui/material";
|
||||
|
||||
function TextLoading({ loading, width, height, children }) {
|
||||
return loading ? (
|
||||
<Skeleton
|
||||
className={width === 'full' ? '!w-full' : ''}
|
||||
variant="rounded"
|
||||
height={height}
|
||||
width={width}
|
||||
/>
|
||||
) : children
|
||||
return loading ? (
|
||||
<Skeleton
|
||||
className={width === "full" ? "!w-full" : ""}
|
||||
variant="rounded"
|
||||
height={height}
|
||||
width={width}
|
||||
/>
|
||||
) : (
|
||||
children
|
||||
);
|
||||
}
|
||||
|
||||
export default TextLoading
|
||||
export default TextLoading;
|
||||
|
||||
Reference in New Issue
Block a user