@ryohey/react-svg-spinners
Version:
> A collection of [SVG Spinners](https://github.com/n3r4zzurr0/svg-spinners) components for React.
5 lines (4 loc) • 967 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export default function ThreeDotsBounce({ width = 24, height = 24, dur = "0.6s", color, }) {
return (_jsxs("svg", { width: width, height: height, fill: color, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "4", cy: "12", r: "3", children: _jsx("animate", { id: "a", begin: "0;b.end+0.25s", attributeName: "cy", calcMode: "spline", dur: dur, values: "12;6;12", keySplines: ".33,.66,.66,1;.33,0,.66,.33" }) }), _jsx("circle", { cx: "12", cy: "12", r: "3", children: _jsx("animate", { begin: "a.begin+0.1s", attributeName: "cy", calcMode: "spline", dur: dur, values: "12;6;12", keySplines: ".33,.66,.66,1;.33,0,.66,.33" }) }), _jsx("circle", { cx: "20", cy: "12", r: "3", children: _jsx("animate", { id: "b", begin: "a.begin+0.2s", attributeName: "cy", calcMode: "spline", dur: dur, values: "12;6;12", keySplines: ".33,.66,.66,1;.33,0,.66,.33" }) })] }));
}