UNPKG

@jsmith21/svg-loaders-react

Version:

React implementation of the SVG Loaders library by Sam Herbert

996 lines (945 loc) 26.1 kB
import React from 'react'; import PropTypes from 'prop-types'; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } var Audio = function Audio(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 55, height: 80, fill: "#FFF", viewBox: "0 0 55 80", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("g", { transform: "matrix(1 0 0 -1 0 80)" }, React.createElement("rect", { width: 10, height: 20, rx: 3 }, React.createElement("animate", { attributeName: "height", begin: "0s", dur: "4.3s", values: "20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 15, width: 10, height: 80, rx: 3 }, React.createElement("animate", { attributeName: "height", begin: "0s", dur: "2s", values: "80;55;33;5;75;23;73;33;12;14;60;80", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 30, width: 10, height: 50, rx: 3 }, React.createElement("animate", { attributeName: "height", begin: "0s", dur: "1.4s", values: "50;34;78;23;56;23;34;76;80;54;21;50", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 45, width: 10, height: 30, rx: 3 }, React.createElement("animate", { attributeName: "height", begin: "0s", dur: "2s", values: "30;45;13;80;56;72;45;76;34;23;67;30", calcMode: "linear", repeatCount: "indefinite" })))); }; Audio.propTypes = { className: PropTypes.string }; Audio.defaultProps = { className: undefined }; var BallTriangle = function BallTriangle(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 57, height: 57, stroke: "#fff", viewBox: "0 0 57 57", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("g", { transform: "translate(1 1)", strokeWidth: 2, fill: "none", fillRule: "evenodd" }, React.createElement("circle", { cx: 5, cy: 50, r: 5 }, React.createElement("animate", { attributeName: "cy", begin: "0s", dur: "2.2s", values: "50;5;50;50", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "cx", begin: "0s", dur: "2.2s", values: "5;27;49;5", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 27, cy: 5, r: 5 }, React.createElement("animate", { attributeName: "cy", begin: "0s", dur: "2.2s", from: 5, to: 5, values: "5;50;50;5", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "cx", begin: "0s", dur: "2.2s", from: 27, to: 27, values: "27;49;5;27", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 49, cy: 50, r: 5 }, React.createElement("animate", { attributeName: "cy", begin: "0s", dur: "2.2s", values: "50;50;5;50", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "cx", from: 49, to: 49, begin: "0s", dur: "2.2s", values: "49;5;27;49", calcMode: "linear", repeatCount: "indefinite" })))); }; BallTriangle.propTypes = { className: PropTypes.string }; BallTriangle.defaultProps = { className: undefined }; var Bars = function Bars(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 135, height: 140, fill: "#fff", viewBox: "0 0 135 140", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("rect", { y: 10, width: 15, height: 120, rx: 6 }, React.createElement("animate", { attributeName: "height", begin: "0.5s", dur: "1s", values: "120;110;100;90;80;70;60;50;40;140;120", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "y", begin: "0.5s", dur: "1s", values: "10;15;20;25;30;35;40;45;50;0;10", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 30, y: 10, width: 15, height: 120, rx: 6 }, React.createElement("animate", { attributeName: "height", begin: "0.25s", dur: "1s", values: "120;110;100;90;80;70;60;50;40;140;120", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "y", begin: "0.25s", dur: "1s", values: "10;15;20;25;30;35;40;45;50;0;10", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 60, width: 15, height: 140, rx: 6 }, React.createElement("animate", { attributeName: "height", begin: "0s", dur: "1s", values: "120;110;100;90;80;70;60;50;40;140;120", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "y", begin: "0s", dur: "1s", values: "10;15;20;25;30;35;40;45;50;0;10", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 90, y: 10, width: 15, height: 120, rx: 6 }, React.createElement("animate", { attributeName: "height", begin: "0.25s", dur: "1s", values: "120;110;100;90;80;70;60;50;40;140;120", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "y", begin: "0.25s", dur: "1s", values: "10;15;20;25;30;35;40;45;50;0;10", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("rect", { x: 120, y: 10, width: 15, height: 120, rx: 6 }, React.createElement("animate", { attributeName: "height", begin: "0.5s", dur: "1s", values: "120;110;100;90;80;70;60;50;40;140;120", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "y", begin: "0.5s", dur: "1s", values: "10;15;20;25;30;35;40;45;50;0;10", calcMode: "linear", repeatCount: "indefinite" }))); }; Bars.propTypes = { className: PropTypes.string }; Bars.defaultProps = { className: undefined }; var Circles = function Circles(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 135, height: 135, fill: "#fff", viewBox: "0 0 135 135", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("path", { d: "M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z" }, React.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 67 67", to: "-360 67 67", dur: "2.5s", repeatCount: "indefinite" })), React.createElement("path", { d: "M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z" }, React.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 67 67", to: "360 67 67", dur: "8s", repeatCount: "indefinite" }))); }; Circles.propTypes = { className: PropTypes.string }; Circles.defaultProps = { className: undefined }; var Grid = function Grid(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 105, height: 105, fill: "#fff", viewBox: "0 0 105 105", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("circle", { cx: 12.5, cy: 12.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 12.5, cy: 52.5, r: 12.5, 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: 52.5, cy: 12.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "300ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 52.5, cy: 52.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "600ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 92.5, cy: 12.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "800ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 92.5, cy: 52.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "400ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 12.5, cy: 92.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "700ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 52.5, cy: 92.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "500ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 92.5, cy: 92.5, r: 12.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "200ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" }))); }; Grid.propTypes = { className: PropTypes.string }; Grid.defaultProps = { className: undefined }; var Hearts = function Hearts(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 140, height: 64, fill: "#fff", viewBox: "0 0 140 64", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("path", { d: "M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.717-6.002 11.47-7.65 17.305-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z", fillOpacity: 0.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.4s", values: "0.5;1;0.5", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("path", { d: "M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.592-2.32 17.307 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z", fillOpacity: 0.5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0.7s", dur: "1.4s", values: "0.5;1;0.5", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("path", { d: "M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z" })); }; Hearts.propTypes = { className: PropTypes.string }; Hearts.defaultProps = { className: undefined }; var Oval = function Oval(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 38, height: 38, stroke: "#fff", viewBox: "0 0 38 38", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("g", { transform: "translate(1 1)", strokeWidth: 2, fill: "none", fillRule: "evenodd" }, React.createElement("circle", { strokeOpacity: 0.5, cx: 18, cy: 18, r: 18 }), React.createElement("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, React.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 18 18", to: "360 18 18", dur: "1s", repeatCount: "indefinite" })))); }; Oval.propTypes = { className: PropTypes.string }; Oval.defaultProps = { className: undefined }; var Puff = function Puff(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 44, height: 44, stroke: "#fff", viewBox: "0 0 44 44", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("g", { fill: "none", fillRule: "evenodd", strokeWidth: 2 }, React.createElement("circle", { cx: 22, cy: 22, r: 1 }, React.createElement("animate", { attributeName: "r", begin: "0s", dur: "1.8s", values: "1; 20", calcMode: "spline", keyTimes: "0; 1", keySplines: "0.165, 0.84, 0.44, 1", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "stroke-opacity", begin: "0s", dur: "1.8s", values: "1; 0", calcMode: "spline", keyTimes: "0; 1", keySplines: "0.3, 0.61, 0.355, 1", repeatCount: "indefinite" })), React.createElement("circle", { cx: 22, cy: 22, r: 1 }, React.createElement("animate", { attributeName: "r", begin: "-0.9s", dur: "1.8s", values: "1; 20", calcMode: "spline", keyTimes: "0; 1", keySplines: "0.165, 0.84, 0.44, 1", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "stroke-opacity", begin: "-0.9s", dur: "1.8s", values: "1; 0", calcMode: "spline", keyTimes: "0; 1", keySplines: "0.3, 0.61, 0.355, 1", repeatCount: "indefinite" })))); }; Puff.propTypes = { className: PropTypes.string }; Puff.defaultProps = { className: undefined }; var Rings = function Rings(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 45, height: 45, stroke: "#fff", viewBox: "0 0 45 45", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("g", { fill: "none", fillRule: "evenodd", transform: "translate(1 1)", strokeWidth: 2 }, React.createElement("circle", { cx: 22, cy: 22, r: 6, strokeOpacity: 0 }, React.createElement("animate", { attributeName: "r", begin: "1.5s", dur: "3s", values: "6;22", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "stroke-opacity", begin: "1.5s", dur: "3s", values: "1;0", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "stroke-width", begin: "1.5s", dur: "3s", values: "2;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 22, cy: 22, r: 6, strokeOpacity: 0 }, React.createElement("animate", { attributeName: "r", begin: "3s", dur: "3s", values: "6;22", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "stroke-opacity", begin: "3s", dur: "3s", values: "1;0", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "stroke-width", begin: "3s", dur: "3s", values: "2;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 22, cy: 22, r: 8 }, React.createElement("animate", { attributeName: "r", begin: "0s", dur: "1.5s", values: "6;1;2;3;4;5;6", calcMode: "linear", repeatCount: "indefinite" })))); }; Rings.propTypes = { className: PropTypes.string }; Rings.defaultProps = { className: undefined }; var SpinningCircles = function SpinningCircles(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 58, height: 58, viewBox: "0 0 58 58", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("g", { transform: "translate(2 1)", stroke: "#FFF", strokeWidth: 1.5, fill: "#fff", fillRule: "evenodd" }, React.createElement("circle", { cx: 42.601, cy: 11.462, r: 5 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "1;0;0;0;0;0;0;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 49.063, cy: 27.063, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;1;0;0;0;0;0;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 42.601, cy: 42.663, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;0;1;0;0;0;0;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 27, cy: 49.125, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;0;0;1;0;0;0;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 11.399, cy: 42.663, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;0;0;0;1;0;0;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 4.938, cy: 27.063, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;0;0;0;0;1;0;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 11.399, cy: 11.462, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;0;0;0;0;0;1;0", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 27, cy: 5, r: 5, fillOpacity: 0 }, React.createElement("animate", { attributeName: "fill-opacity", begin: "0s", dur: "1.3s", values: "0;0;0;0;0;0;0;1", calcMode: "linear", repeatCount: "indefinite" })))); }; SpinningCircles.propTypes = { className: PropTypes.string }; SpinningCircles.defaultProps = { className: undefined }; var TailSpin = function TailSpin(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 38, height: 38, viewBox: "0 0 38 38", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("defs", null, React.createElement("linearGradient", { x1: "8.042%", y1: "0%", x2: "65.682%", y2: "23.865%", id: "prefix__a" }, React.createElement("stop", { stopColor: "#fff", stopOpacity: 0, offset: "0%" }), React.createElement("stop", { stopColor: "#fff", stopOpacity: 0.631, offset: "63.146%" }), React.createElement("stop", { stopColor: "#fff", offset: "100%" }))), React.createElement("g", { transform: "translate(1 1)", fill: "none", fillRule: "evenodd" }, React.createElement("path", { d: "M36 18c0-9.94-8.06-18-18-18", stroke: "url(#prefix__a)", strokeWidth: 2 }, React.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 18 18", to: "360 18 18", dur: "0.9s", repeatCount: "indefinite" })), React.createElement("circle", { fill: "#fff", cx: 36, cy: 18, r: 1 }, React.createElement("animateTransform", { attributeName: "transform", type: "rotate", from: "0 18 18", to: "360 18 18", dur: "0.9s", repeatCount: "indefinite" })))); }; TailSpin.propTypes = { className: PropTypes.string }; TailSpin.defaultProps = { className: undefined }; var ThreeDots = function ThreeDots(_ref) { var className = _ref.className, props = _objectWithoutProperties(_ref, ["className"]); return React.createElement("svg", _extends({ width: 120, height: 30, fill: "#fff", viewBox: "0 0 120 30", className: "svg-loaders-svg".concat(className ? " ".concat(className) : '') }, props), React.createElement("circle", { cx: 15, cy: 15, r: 15 }, React.createElement("animate", { attributeName: "r", from: 15, to: 15, begin: "0s", dur: "0.8s", values: "15;9;15", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "fill-opacity", from: 1, to: 1, begin: "0s", dur: "0.8s", values: "1;.5;1", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 60, cy: 15, r: 9, fillOpacity: 0.3 }, React.createElement("animate", { attributeName: "r", from: 9, to: 9, begin: "0s", dur: "0.8s", values: "9;15;9", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "fill-opacity", from: 0.5, to: 0.5, begin: "0s", dur: "0.8s", values: ".5;1;.5", calcMode: "linear", repeatCount: "indefinite" })), React.createElement("circle", { cx: 105, cy: 15, r: 15 }, React.createElement("animate", { attributeName: "r", from: 15, to: 15, begin: "0s", dur: "0.8s", values: "15;9;15", calcMode: "linear", repeatCount: "indefinite" }), React.createElement("animate", { attributeName: "fill-opacity", from: 1, to: 1, begin: "0s", dur: "0.8s", values: "1;.5;1", calcMode: "linear", repeatCount: "indefinite" }))); }; ThreeDots.propTypes = { className: PropTypes.string }; ThreeDots.defaultProps = { className: undefined }; export { Audio, BallTriangle, Bars, Circles, Grid, Hearts, Oval, Puff, Rings, SpinningCircles, TailSpin, ThreeDots };