-
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.
- Loading branch information
Showing
4 changed files
with
25 additions
and
4 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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
export default function Blank() { | ||
return <div>데이터가 없습니다.</div>; | ||
return ( | ||
<div className="flex justify-center items-center bg-gray-100"> | ||
<div className="p-6 bg-white rounded-lg text-center text-xl"> | ||
데이터가 없습니다. | ||
</div> | ||
</div> | ||
); | ||
} |
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,14 @@ | ||
type ErrorFallbackProps = { message?: string }; | ||
|
||
export default function ErrorFallback({ message }: ErrorFallbackProps) { | ||
return <div>에러발생{message}</div>; | ||
return ( | ||
<div className="flex justify-center items-center bg-gray-100"> | ||
<div className="flex flex-col items-center"> | ||
<div className="p-6 bg-white rounded-lg text-center text-xl"> | ||
에러가 발생했습니다 | ||
</div> | ||
<div>{message}</div> | ||
</div> | ||
</div> | ||
); | ||
} |
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,9 @@ | ||
export default function LoadingFallback() { | ||
return <div>로딩중</div>; | ||
return ( | ||
<div className="flex justify-center items-center bg-gray-100"> | ||
<div className="p-6 bg-white rounded-lg text-center text-xl"> | ||
로딩중입니다 | ||
</div> | ||
</div> | ||
); | ||
} |