-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: #109 네트워크 통신 대기시 Spinner UI 노출
- Loading branch information
Showing
2 changed files
with
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
export default function Spinner() { | ||
return <div className="box-border h-20 w-20 animate-spin rounded-full border-4 border-[#eee] border-t-main" />; | ||
return ( | ||
<section className="flex h-full w-full items-center justify-center"> | ||
<div className="box-border h-20 w-20 animate-spin rounded-full border-4 border-[#eee] border-t-main" /> | ||
</section> | ||
); | ||
} |
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