mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
35 lines
1.7 KiB
TypeScript
35 lines
1.7 KiB
TypeScript
import React from "react";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface PydanticAiIconProps {
|
|
className?: string;
|
|
width?: number;
|
|
height?: number;
|
|
}
|
|
|
|
const DEFAULT_CLASSNAME = "text-icon";
|
|
|
|
const PydanticAiIcon = ({
|
|
className,
|
|
width = 22,
|
|
height = 19,
|
|
}: PydanticAiIconProps) => {
|
|
return (
|
|
<svg
|
|
width={width}
|
|
height={height}
|
|
viewBox="0 0 22 19"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={cn(DEFAULT_CLASSNAME, className)}
|
|
>
|
|
<path
|
|
d="M21.0411 13.87L11.2585 0.317288C10.9505 -0.105763 10.2407 -0.105763 9.93579 0.317288L0.153139 13.87C0.0535638 14.0086 2.72845e-06 14.1751 0 14.3458C0.000238659 14.5172 0.0543294 14.6843 0.154633 14.8233C0.254937 14.9624 0.396386 15.0664 0.559004 15.1207L10.3418 18.3202H10.3433C10.5076 18.3737 10.6846 18.3737 10.8488 18.3202H10.8503L20.633 15.1208C20.755 15.0813 20.8659 15.0133 20.9565 14.9224C21.0471 14.8316 21.1147 14.7204 21.1538 14.5982C21.194 14.4764 21.2046 14.3468 21.1846 14.2201C21.1646 14.0935 21.1146 13.9734 21.0388 13.87H21.0411ZM10.5976 2.18488L14.5186 7.61733L10.8519 6.41846C10.8235 6.40925 10.7936 6.41079 10.7653 6.40403C10.7376 6.39719 10.7094 6.39257 10.6809 6.39022C10.6527 6.38639 10.6258 6.37565 10.5976 6.37565C10.5692 6.37565 10.5431 6.38639 10.5147 6.39022C10.4865 6.39329 10.4581 6.3979 10.4307 6.40403C10.4015 6.4094 10.3716 6.4094 10.3456 6.41846L6.70099 7.61043L6.67797 7.6181L10.5991 2.18457H10.5976V2.18488ZM5.05758 9.86117L9.3263 8.4642L9.78203 8.31582V16.4236L2.12814 13.9197L5.05758 9.86117ZM11.4139 16.4221V8.31582L16.1382 9.86117L19.0677 13.9174L11.4132 16.4221H11.4139Z"
|
|
fill="currentColor"
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
export default PydanticAiIcon;
|