Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Commit

Permalink
feat: LoadingをNextUIに依存しないように #161
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Aug 27, 2022
1 parent 3427695 commit 0bd76d8
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/components/Loading.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Image, Loading as NextUILoading } from "@nextui-org/react";
import { FC } from "react";
import ayuskeyIcon from "../assets/images/ayuskey.webp"
import { ImpulseSpinner } from "react-spinners-kit";
import ayuskeyIcon from "../assets/images/ayuskey.webp";

export const Loading: FC = () => {
return (
Expand All @@ -14,14 +14,10 @@ export const Loading: FC = () => {
}}
>
<div style={{ textAlign: "center" }}>
<div>
<img
src={ayuskeyIcon}
alt="ayuskey"
height="70px"
/>
<div><img src={ayuskeyIcon} alt="ayuskey" height="70px" /></div>
<div style={{ display: "flex", justifyContent: "center" }}>
<ImpulseSpinner />
</div>
<NextUILoading type="points-opacity" />
</div>
</div>
);
Expand Down

0 comments on commit 0bd76d8

Please sign in to comment.