Files
twenty/packages/twenty-ui/src/display/icon/components/ThinkingOrbitLoaderIcon.tsx
T
martmull e3fcff00b0 Fix initial code step functionInput (#18002)
At code step creation

## before
<img width="623" height="816" alt="image"
src="https://github.com/user-attachments/assets/0aed5ed8-8d56-4988-9d31-fe80942191bb"
/>

## after
<img width="627" height="528" alt="image"
src="https://github.com/user-attachments/assets/9e2a5cb9-7480-4734-8e41-25b45edcec07"
/>
2026-02-17 16:45:00 +01:00

50 lines
1.2 KiB
TypeScript

import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';
type ThinkingOrbitLoaderIconProps = Pick<
IconComponentProps,
'className' | 'size'
>;
export const ThinkingOrbitLoaderIcon = ({
className,
size = 14,
}: ThinkingOrbitLoaderIconProps) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 14 14"
aria-hidden="true"
focusable="false"
className={className}
>
<path
d="M3.1 7 C3.1 4.4 6.0 4.4 7.0 7 C8.0 9.6 10.9 9.6 10.9 7 C10.9 4.4 8.0 4.4 7.0 7 C6.0 9.6 3.1 9.6 3.1 7"
fill="none"
stroke="currentColor"
strokeWidth="1.4"
strokeLinecap="round"
strokeLinejoin="round"
shapeRendering="geometricPrecision"
pathLength={100}
strokeDasharray="14 86"
strokeDashoffset="0"
>
<animate
attributeName="stroke-dashoffset"
values="0;-100"
dur="1.05s"
repeatCount="indefinite"
/>
<animate
attributeName="stroke-dasharray"
values="10 90;16 84;10 90"
dur="1.05s"
repeatCount="indefinite"
/>
</path>
</svg>
);
};