add prettier formatter to all file

This commit is contained in:
Ehsan
2024-09-25 11:03:44 +03:30
parent fa38ee2b21
commit eda896e917
410 changed files with 47636 additions and 43842 deletions
+12 -10
View File
@@ -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;