32 lines
No EOL
781 B
TypeScript
Executable file
32 lines
No EOL
781 B
TypeScript
Executable file
import React from 'react';
|
|
|
|
export const SpinnerIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
|
|
<svg
|
|
viewBox="0 0 100 100"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
{/* Background track */}
|
|
<circle
|
|
cx="50"
|
|
cy="50"
|
|
r="45"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeWidth="10"
|
|
className="opacity-25"
|
|
/>
|
|
{/* Spinning arc */}
|
|
<circle
|
|
cx="50"
|
|
cy="50"
|
|
r="45"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeWidth="10"
|
|
strokeDasharray="70 283"
|
|
strokeLinecap="round"
|
|
className="opacity-75"
|
|
/>
|
|
</svg>
|
|
); |