2024-02-05 14:32:50 +00:00
|
|
|
// TODO(mime): copied from tldraw package, needs to be in another shared location.
|
2024-02-05 20:46:07 +00:00
|
|
|
export function Spinner(props: React.SVGProps<SVGSVGElement>) {
|
2024-02-05 14:32:50 +00:00
|
|
|
return (
|
|
|
|
<svg width={16} height={16} viewBox="0 0 16 16" {...props}>
|
|
|
|
<g strokeWidth={2} fill="none" fillRule="evenodd">
|
|
|
|
<circle strokeOpacity={0.25} cx={8} cy={8} r={7} stroke="currentColor" />
|
|
|
|
<path strokeLinecap="round" d="M15 8c0-4.5-4.5-7-7-7" stroke="currentColor">
|
|
|
|
<animateTransform
|
|
|
|
attributeName="transform"
|
|
|
|
type="rotate"
|
|
|
|
from="0 8 8"
|
|
|
|
to="360 8 8"
|
|
|
|
dur="1s"
|
|
|
|
repeatCount="indefinite"
|
|
|
|
/>
|
|
|
|
</path>
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
)
|
|
|
|
}
|