@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
131 lines (125 loc) • 3.59 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Loading;
var React = _interopRequireWildcard(require("react"));
var _Icon = _interopRequireDefault(require("../Icon"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
/* eslint-disable */
function Loading(props) {
var color = props.color,
size = props.size,
customColor = props.customColor,
className = props.className,
dataTest = props.dataTest;
return React.createElement(_Icon.default, {
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"
})));
}