import { useEffect, useState } from "react";
import { Illustration, Polygon, Ellipse } from "react-zdog";
import { Icon } from "@blueprintjs/core";
import { RenderedElement } from "./RenderedElement";
export const Spinner = () => {
const [rotation, setRotation] = useState(0);
const [radius] = useState(20);
const [thickness] = useState(3);
const [zoom] = useState(1);
useEffect(() => {
setInterval(() => {
setRotation((Date.now() / 1000) % (Math.PI * 2000));
}, 1000 / 30);
}, []);
const icon = (
);
return ;
};