-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(attendanceRequests): add skeleton
- Loading branch information
1 parent
be9a294
commit 99db8b8
Showing
3 changed files
with
48 additions
and
7 deletions.
There are no files selected for viewing
25 changes: 23 additions & 2 deletions
25
src/components/activities/Payout/AttendanceRequests/Card/Skeleton/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
import { Card, CardContent, Skeleton, Stack } from '@mui/material' | ||
import React from 'react' | ||
|
||
export default function AttendanceRequestSkeleton() { | ||
return <div>index</div> | ||
export default function AttendanceRequestCardSkeleton() { | ||
return ( | ||
<Card> | ||
<CardContent sx={{ paddingLeft: '36px', paddingRight: '44px' }}> | ||
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> | ||
<Stack direction="row" gap="32px" alignItems="center"> | ||
<Skeleton variant="circular" height={32} width={32} /> | ||
<Stack gap="10px"> | ||
<Skeleton height={32} width={120} /> | ||
<div style={{ display: 'grid', gap: '10px', gridTemplateColumns: 'auto 1fr' }}> | ||
<Skeleton height={12} width={80} /> | ||
<Skeleton height={12} width={60} /> | ||
<Skeleton height={12} width={80} /> | ||
<Skeleton height={12} width={60} /> | ||
</div> | ||
</Stack> | ||
</Stack> | ||
<Skeleton variant="circular" height={32} width={32} /> | ||
</Stack> | ||
</CardContent> | ||
</Card> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters