@resourge/react-fetch
Version:
[](LICENSE)
77 lines (74 loc) • 1.82 kB
JavaScript
/**
* react-fetch v1.41.3
*
* Copyright (c) resourge.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
import { jsx, jsxs } from 'react/jsx-runtime';
const GlobalLoading = ({
color
}) => jsx("svg", {
height: "100",
stroke: color,
viewBox: "0 0 44 44",
width: "100",
xmlns: "http://www.w3.org/2000/svg",
children: jsxs("g", {
fill: "none",
fillRule: "evenodd",
strokeWidth: "2",
children: [jsxs("circle", {
cx: "22",
cy: "22",
r: "1",
children: [jsx("animate", {
attributeName: "r",
begin: "0s",
calcMode: "spline",
dur: "1.8s",
keySplines: "0.165, 0.84, 0.44, 1",
keyTimes: "0; 1",
repeatCount: "indefinite",
values: "1; 20"
}), jsx("animate", {
attributeName: "strokeOpacity",
begin: "0s",
calcMode: "spline",
dur: "1.8s",
keySplines: "0.3, 0.61, 0.355, 1",
keyTimes: "0; 1",
repeatCount: "indefinite",
values: "1; 0"
})]
}), jsxs("circle", {
cx: "22",
cy: "22",
r: "1",
children: [jsx("animate", {
attributeName: "r",
begin: "-0.9s",
calcMode: "spline",
dur: "1.8s",
keySplines: "0.165, 0.84, 0.44, 1",
keyTimes: "0; 1",
repeatCount: "indefinite",
values: "1; 20"
}), jsx("animate", {
attributeName: "strokeOpacity",
begin: "-0.9s",
calcMode: "spline",
dur: "1.8s",
keySplines: "0.3, 0.61, 0.355, 1",
keyTimes: "0; 1",
repeatCount: "indefinite",
values: "1; 0"
})]
})]
})
});
export { GlobalLoading };
//# sourceMappingURL=GlobalLoading.js.map