@kiwicom/orbit-components
Version:
<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"
127 lines (125 loc) • 3.19 kB
JavaScript
/* eslint-disable */
import * as React from "react";
import OrbitIcon from "../Icon";
export default function Loading(props) {
const { color, size, customColor, className, dataTest } = props;
return React.createElement(
OrbitIcon,
{
viewBox: "0 0 24 24",
size: size,
color: color,
customColor: customColor,
className: className,
dataTest: dataTest
},
React.createElement(
"circle",
{ cx: 4.308, cy: 12, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "0s",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 4.308, cy: 4.308, r: 2.308, fillOpacity: 0.5 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "100ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 12, cy: 4.308, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "300ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 12, cy: 12, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "600ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 19.692, cy: 4.308, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "800ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 19.692, cy: 12, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "400ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 4.308, cy: 19.692, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "700ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 12, cy: 19.692, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "500ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
),
React.createElement(
"circle",
{ cx: 19.692, cy: 19.692, r: 2.308 },
React.createElement("animate", {
attributeName: "fill-opacity",
begin: "200ms",
dur: "1s",
values: "1;.2;1",
calcMode: "linear",
repeatCount: "indefinite"
})
)
);
}