'use strict';

var tslib_es6 = require('./tslib.es6-2c2ed574.js');
var React = require('react');

function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const Spinner = (_a) => {
    var { size = 24, color, isMarryBaby } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "isMarryBaby"]);
    return (React__default["default"].createElement("svg", Object.assign({ style: {
            display: 'block',
            shapeRendering: 'auto',
        }, width: size, height: size, viewBox: "30 30 40 40", preserveAspectRatio: "xMidYMid" }, rest),
        React__default["default"].createElement("circle", { cx: "50", cy: "50", fill: "none", stroke: color || (isMarryBaby ? '#e85388' : '#91caff'), strokeWidth: "7", r: "16", strokeDasharray: "75.39822368615503 27.132741228718345" },
            React__default["default"].createElement("animateTransform", { attributeName: "transform", type: "rotate", repeatCount: "indefinite", dur: "1.2s", values: "0 50 50;360 50 50", keyTimes: "0;1" }))));
};
Spinner.defaultProps = {
    size: 24,
};

exports.Spinner = Spinner;
