-
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.
Merge pull request #73 from joog-lim/develop
v1.0.2
- Loading branch information
Showing
20 changed files
with
332 additions
and
53 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 |
---|---|---|
@@ -0,0 +1,159 @@ | ||
const Spinner: React.FC = () => { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
xmlnsXlink="http://www.w3.org/1999/xlink" | ||
width="100px" | ||
height="100px" | ||
viewBox="0 0 100 100" | ||
preserveAspectRatio="xMidYMid" | ||
> | ||
<g transform="rotate(0 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.9166666666666666s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(30 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.8333333333333334s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(60 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.75s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(90 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.6666666666666666s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(120 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.5833333333333334s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(150 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.5s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(180 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.4166666666666667s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(210 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.3333333333333333s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(240 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.25s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(270 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.16666666666666666s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(300 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="-0.08333333333333333s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
<g transform="rotate(330 50 50)"> | ||
<rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#57cc4d"> | ||
<animate | ||
attributeName="opacity" | ||
values="1;0" | ||
keyTimes="0;1" | ||
dur="1s" | ||
begin="0s" | ||
repeatCount="indefinite" | ||
></animate> | ||
</rect> | ||
</g> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default Spinner; |
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 +1,2 @@ | ||
export { default as Logo } from "./Logo"; | ||
export { default as Spinner } from "./Spinner"; |
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
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
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
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
Oops, something went wrong.