-
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: add country select suspense & skeleton
- Loading branch information
Showing
2 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Skeleton } from '@nextui-org/skeleton'; | ||
import React from 'react'; | ||
|
||
function CountrySelectionSkeleton() { | ||
return ( | ||
<div className="pb-4 space-y-6"> | ||
<div className="group flex flex-col w-full"> | ||
<div className="w-full flex flex-col"> | ||
<Skeleton className="relative px-3 gap-3 w-full shadow-sm h-10 min-h-10 rounded-medium"> | ||
<div className="inline-flex h-full w-[calc(100%_-_theme(spacing.6))] min-h-4 items-center gap-1.5 box-border" /> | ||
</Skeleton> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default CountrySelectionSkeleton; |