UNPKG

@ryohey/react-svg-spinners

Version:

> A collection of [SVG Spinners](https://github.com/n3r4zzurr0/svg-spinners) components for React.

5 lines (4 loc) 762 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; export default function OneEightyRingWithBg({ width = 24, height = 24, dur = "0.75s", color, }) { return (_jsxs("svg", { width: width, height: height, fill: color, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", opacity: ".25" }), _jsx("path", { d: "M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z", children: _jsx("animateTransform", { attributeName: "transform", type: "rotate", dur: dur, values: "0 12 12;360 12 12", repeatCount: "indefinite" }) })] })); }