-
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.
chore(search): add loader if searching and up packages (#1)
* chore(search): add loader if searching * fix(ts-error): weird * fix(ts-error): another one from package upgrade
- Loading branch information
1 parent
12b74eb
commit ee21d93
Showing
8 changed files
with
1,205 additions
and
1,149 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { SVGProps } from "react" | ||
|
||
function Loader(props:SVGProps<SVGSVGElement>) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="1em" | ||
height="1em" | ||
viewBox="0 0 24 24" | ||
{...props} | ||
> | ||
<circle cx="12" cy="12" r="0" fill="#888888"> | ||
<animate | ||
id="svgSpinnersPulse20" | ||
fill="freeze" | ||
attributeName="r" | ||
begin="0;svgSpinnersPulse21.begin+0.6s" | ||
calcMode="spline" | ||
dur="1.2s" | ||
keySplines=".52,.6,.25,.99" | ||
values="0;11" | ||
></animate> | ||
<animate | ||
fill="freeze" | ||
attributeName="opacity" | ||
begin="0;svgSpinnersPulse21.begin+0.6s" | ||
calcMode="spline" | ||
dur="1.2s" | ||
keySplines=".52,.6,.25,.99" | ||
values="1;0" | ||
></animate> | ||
</circle> | ||
<circle cx="12" cy="12" r="0" fill="#888888"> | ||
<animate | ||
id="svgSpinnersPulse21" | ||
fill="freeze" | ||
attributeName="r" | ||
begin="svgSpinnersPulse20.begin+0.6s" | ||
calcMode="spline" | ||
dur="1.2s" | ||
keySplines=".52,.6,.25,.99" | ||
values="0;11" | ||
></animate> | ||
<animate | ||
fill="freeze" | ||
attributeName="opacity" | ||
begin="svgSpinnersPulse20.begin+0.6s" | ||
calcMode="spline" | ||
dur="1.2s" | ||
keySplines=".52,.6,.25,.99" | ||
values="1;0" | ||
></animate> | ||
</circle> | ||
</svg> | ||
) | ||
} | ||
|
||
export default Loader |
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.