UNPKG

infinity-forge

Version:
14 lines 1.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LoaderCircle = LoaderCircle; var jsx_runtime_1 = require("react/jsx-runtime"); function LoaderCircle(_a) { var size = _a.size, color = _a.color; return ((0, jsx_runtime_1.jsx)("svg", { xmlns: 'http://www.w3.org/2000/svg', style: { margin: 'auto', background: 'none', display: 'block', shapeRendering: 'auto', }, width: size + 'px', height: size + 'px', viewBox: '0 0 100 100', preserveAspectRatio: 'xMidYMid', className: 'loader-button', children: (0, jsx_runtime_1.jsx)("circle", { cx: '50', cy: '50', fill: 'none', stroke: color ? color : '#ffffff', strokeWidth: '10', r: '35', strokeDasharray: '164.93361431346415 56.97787143782138', children: (0, jsx_runtime_1.jsx)("animateTransform", { attributeName: 'transform', type: 'rotate', repeatCount: 'indefinite', dur: '0.7874015748031495s', values: '0 50 50;360 50 50', keyTimes: '0;1' }) }) })); } //# sourceMappingURL=index.js.map