UNPKG

@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"

147 lines (138 loc) 3.83 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Loading; var _react = require("react"); var React = _interopRequireWildcard(_react); var _Icon = require("../Icon"); var _Icon2 = _interopRequireDefault(_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)) 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( _Icon2.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" }) ) ); }