mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
47 lines
4.2 KiB
TypeScript
47 lines
4.2 KiB
TypeScript
import React from "react";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Ag2IconProps {
|
|
className?: string;
|
|
width?: number;
|
|
height?: number;
|
|
}
|
|
|
|
const DEFAULT_CLASSNAME = "text-icon";
|
|
|
|
const Ag2Icon = ({ className, width = 23, height = 23 }: Ag2IconProps) => {
|
|
return (
|
|
<svg
|
|
width={width}
|
|
height={height}
|
|
viewBox="0 0 23 23"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={cn(DEFAULT_CLASSNAME, className)}
|
|
>
|
|
<path
|
|
d="M0 0.809983C0 1.55054 0.0462848 1.61997 0.671129 1.61997C1.24969 1.61997 1.3654 1.71254 1.43483 2.24481C1.48111 2.77709 1.61997 2.91594 2.26795 2.96223C2.91594 3.03165 3.00851 3.12422 3.00851 3.72592C3.00851 4.32763 3.07794 4.39705 3.70278 4.39705C4.35077 4.39705 4.39705 4.46648 4.39705 5.20704C4.39705 5.94759 4.35077 6.01702 3.70278 6.01702C3.07794 6.01702 3.00851 6.08645 3.00851 6.68815C3.00851 7.28985 2.91594 7.38242 2.26795 7.45185C1.50426 7.52128 1.50426 7.52128 1.43483 8.9561L1.3654 10.4141H3.00851V7.40556H3.70278C4.32763 7.40556 4.39705 7.33614 4.39705 6.71129V6.01702H7.40556V4.39705H14.8111V6.01702H17.8196V6.71129C17.8196 7.35928 17.8891 7.40556 18.6296 7.40556H19.4396V10.4141H20.8281V7.40556H20.1339C19.509 7.40556 19.4396 7.33614 19.4396 6.71129C19.4396 6.0633 19.3702 6.01702 18.6296 6.01702C17.8659 6.01702 17.8196 5.97074 17.8196 5.20704C17.8196 4.44334 17.8659 4.39705 18.6296 4.39705C19.3702 4.39705 19.4396 4.35077 19.4396 3.70278C19.4396 3.07794 19.509 3.00851 20.1339 3.00851C20.7587 3.00851 20.8281 2.93908 20.8281 2.33738C20.8281 1.73568 20.9207 1.64311 21.5918 1.57368C22.2398 1.50426 22.3324 1.41169 22.4018 0.740556C22.4713 0.0231424 22.4481 0 21.6613 0C20.8976 0 20.8281 0.0462847 20.8281 0.694272C20.8281 1.31912 20.7587 1.38854 20.1339 1.38854C19.4859 1.38854 19.4396 1.45797 19.4396 2.19853C19.4396 2.96223 19.3933 3.00851 18.6296 3.00851C17.8891 3.00851 17.8196 3.05479 17.8196 3.70278V4.39705H14.8111V3.00851H7.40556V4.39705H4.39705V3.70278C4.39705 3.07794 4.32763 3.00851 3.72592 3.00851C3.12422 3.00851 3.03165 2.91594 2.96223 2.24481C2.91594 1.61997 2.77709 1.48111 2.26795 1.43483C1.71254 1.3654 1.61997 1.24969 1.61997 0.671129C1.61997 0.0462848 1.55054 0 0.809984 0C0.0462848 0 0 0.0462848 0 0.809983Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path
|
|
d="M5.9706 8.14607C5.90117 8.8172 5.8086 8.90977 5.13747 8.97919L4.37377 9.04862L4.51263 11.9183L11.1776 11.9877L17.8195 12.034V9.02548H17.1252C16.4772 9.02548 16.431 8.95605 16.431 8.2155V7.40551H6.04002L5.9706 8.14607ZM9.02539 9.71975C9.02539 10.3677 8.95596 10.414 8.21541 10.414C7.47485 10.414 7.40542 10.3677 7.40542 9.71975C7.40542 9.07176 7.47485 9.02548 8.21541 9.02548C8.95596 9.02548 9.02539 9.07176 9.02539 9.71975ZM14.811 9.71975C14.811 10.3446 14.7416 10.414 14.1167 10.414C13.4919 10.414 13.4224 10.3446 13.4224 9.71975C13.4224 9.09491 13.4919 9.02548 14.1167 9.02548C14.7416 9.02548 14.811 9.09491 14.811 9.71975Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path
|
|
d="M1.61997 15.1583C1.61997 15.922 1.57368 15.9683 0.809983 15.9683H0V22.2167H1.61997V18.9768H4.62848V22.2167H6.24844V15.9683H5.55417C4.90619 15.9683 4.8599 15.8989 4.8599 15.1583V14.3483H1.61997V15.1583ZM4.62848 17.3568H1.61997V15.9683H4.62848V17.3568Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path
|
|
d="M9.48829 15.1583C9.48829 15.8989 9.44201 15.9683 8.79402 15.9683H8.09975V20.5968H8.79402C9.44201 20.5968 9.48829 20.6662 9.48829 21.4068V22.2167H12.7282V21.4068C12.7282 20.6431 12.7745 20.5968 13.5382 20.5968H14.3482V17.3337L11.224 17.4725L11.1545 18.2131C11.0851 18.9537 11.1083 18.9768 11.8951 18.9768C12.6819 18.9768 12.7282 19.0231 12.7282 19.7868V20.5968H9.71972V15.9683H14.3482V14.3483H9.48829V15.1583Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path
|
|
d="M16.0147 15.0889L16.0841 15.8526L20.8283 15.9914V16.6626C20.8283 17.3337 20.8283 17.3337 19.2777 17.4031L17.7041 17.4725L17.6346 18.2131C17.5652 18.8611 17.4726 18.9537 16.8246 19.0231L16.0841 19.0925L15.9452 22.2167H22.4482V20.5968H17.5883V18.9768H20.8283V18.3057C20.8283 17.704 20.9209 17.6114 21.592 17.542C22.24 17.4725 22.3325 17.38 22.402 16.7088C22.4714 15.9914 22.4482 15.9683 21.6614 15.9683C20.8746 15.9683 20.8283 15.922 20.8283 15.1583V14.3483H15.9452L16.0147 15.0889Z"
|
|
fill="currentColor"
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
export default Ag2Icon;
|