20 lines
2.4 KiB
TypeScript
20 lines
2.4 KiB
TypeScript
import type { IconProps } from './types';
|
|
|
|
export function NodeIcon({ className }: IconProps) {
|
|
return (
|
|
<svg
|
|
width="512"
|
|
height="512"
|
|
viewBox="0 0 512 512"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={className}
|
|
>
|
|
<path
|
|
d="M482.584 147.869V363.982C482.584 378.007 475.038 391.066 462.912 398.125L275.664 506.241C269.675 509.715 262.882 511.5 255.945 511.5C249.107 511.5 242.296 509.715 236.306 506.241L173.785 469.251C164.459 464.044 169.01 462.192 172.093 461.123C184.547 456.801 187.066 455.805 200.361 448.26C201.748 447.467 203.577 447.777 205.008 448.603L253.039 477.122C254.78 478.103 257.239 478.103 258.84 477.122L446.103 369.036C447.847 368.04 448.965 366.053 448.965 363.983V147.869C448.965 145.752 447.847 143.775 446.059 142.706L258.873 34.7158C257.147 33.7058 254.843 33.7058 253.105 34.7158L65.9611 142.736C64.1431 143.776 62.9961 145.815 62.9961 147.869V363.982C62.9961 366.051 64.1421 367.991 65.9501 368.972L117.249 398.626C145.078 412.529 162.124 396.141 162.124 379.67V166.309C162.124 163.292 164.547 160.913 167.563 160.913H191.31C194.279 160.913 196.739 163.291 196.739 166.309V379.671C196.739 416.817 176.503 438.125 141.287 438.125C130.471 438.125 121.94 438.125 98.1491 426.412L49.0511 398.125C36.9181 391.13 29.4131 378.008 29.4131 363.982V147.869C29.4131 133.826 36.9181 120.719 49.0511 113.734L236.307 5.52575C248.157 -1.17525 263.915 -1.17525 275.664 5.52575L462.912 113.734C475.038 120.748 482.584 133.826 482.584 147.869ZM321.17 343.367C265.29 343.367 252.995 329.319 248.876 301.531C248.399 298.565 245.858 296.356 242.813 296.356H215.507C212.125 296.356 209.411 299.059 209.411 302.46C209.411 338.02 228.765 380.431 321.17 380.431C388.076 380.431 426.439 354.092 426.439 308.088C426.439 262.465 395.612 250.328 330.73 241.738C265.151 233.06 258.487 228.591 258.487 213.23C258.487 200.569 264.13 183.649 312.703 183.649C356.077 183.649 372.068 192.998 378.643 222.225C379.222 224.98 381.726 226.99 384.566 226.99H411.975C413.675 226.99 415.29 226.26 416.445 225.047C417.603 223.767 418.218 222.1 418.056 220.352C413.815 169.975 380.343 146.508 312.702 146.508C252.493 146.508 216.584 171.922 216.584 214.51C216.584 260.727 252.313 273.51 310.084 279.212C379.222 285.994 384.588 296.095 384.588 309.7C384.588 333.299 365.654 343.367 321.17 343.367Z"
|
|
fill="currentColor"
|
|
/>
|
|
</svg>
|
|
);
|
|
}
|