forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook.tsx
More file actions
31 lines (27 loc) · 788 Bytes
/
Copy pathbook.tsx
File metadata and controls
31 lines (27 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from "react";
interface BookIconProps {
className?: string;
}
const DEFAULT_CLASSNAME = "text-icon";
// Open-book mark matching the BrandNav icon vocabulary
// (ConsoleIcon, CloudIcon — outline strokes on a 20x20 grid).
const BookIcon = ({ className }: BookIconProps) => {
return (
<svg
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
xmlns="http://www.w3.org/2000/svg"
className={[DEFAULT_CLASSNAME, className].filter(Boolean).join(" ")}
>
<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" />
<path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" />
</svg>
);
};
export default BookIcon;