@infinityfx/fluid
Version:
React UI library, using zero-runtime CSS-in-JS.
3 lines (2 loc) • 550 B
JavaScript
import{jsx as e}from"react/jsx-runtime";import{Animatable as r}from"@infinityfx/lively";function t({color:t,...i}){return e("svg",{...i,style:{stroke:t||"currentcolor",...i.style},viewBox:"0 0 100 100",width:"1em",height:"1em",children:e(r,{animate:{rotate:["0deg","720deg"],strokeLength:[.75,.25,.75],repeat:1/0,easing:"linear",duration:2},triggers:[{on:"mount"}],children:e("circle",{r:43,cx:50,cy:50,fill:"none",strokeWidth:14,style:{transformOrigin:"50% 50%",strokeLinecap:"round"}})})})}export{t as default};
//# sourceMappingURL=spinner.js.map