Skip to content

Commit 0f6a06c

Browse files
authored
Merge pull request #94 from adaptui/icon
2 parents 9edd841 + 3900a4f commit 0f6a06c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

src/icons/Link.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import React from "react";
2+
import Svg, { ClipPath, Defs, G, Path, Rect } from "react-native-svg";
3+
4+
import { IconProps } from "../utils/types";
5+
6+
export const Link: React.FC<IconProps> = ({ fill = "#525252" }) => {
7+
return (
8+
<Svg width="100%" height="100%" viewBox="0 0 12 12" fill="none">
9+
<G clipPath="url(#clip0_4143_62023)">
10+
<Path
11+
fillRule="evenodd"
12+
clipRule="evenodd"
13+
d="M7.05975 2.30663L7.05966 2.30672L5.57372 3.79265C5.31988 4.04649 4.90833 4.04649 4.65449 3.79265C4.40065 3.53881 4.40065 3.12725 4.65449 2.87341L6.14051 1.38739L6.1406 1.3873C6.73399 0.794146 7.53866 0.460938 8.37767 0.460938C9.21668 0.460938 10.0213 0.794146 10.6147 1.3873L10.1552 1.84704L10.6149 1.38748C11.2081 1.98087 11.5413 2.78554 11.5413 3.62455C11.5413 4.46356 11.2081 5.26823 10.6149 5.86162L10.6148 5.86171L9.12881 7.34773C8.87497 7.60157 8.46341 7.60157 8.20957 7.34773C7.95573 7.09389 7.95573 6.68234 8.20957 6.42849L9.6955 4.94256L9.69559 4.94247C10.045 4.59287 10.2413 4.11883 10.2413 3.62455C10.2413 3.13032 10.045 2.65631 9.69569 2.30672C9.34608 1.95725 8.87199 1.76094 8.37767 1.76094C7.88339 1.76094 7.40935 1.95722 7.05975 2.30663ZM8.25649 3.84038C8.51033 4.09422 8.51033 4.50578 8.25649 4.75962L4.75649 8.25962C4.50265 8.51346 4.0911 8.51346 3.83726 8.25962C3.58341 8.00578 3.58341 7.59422 3.83726 7.34038L7.33726 3.84038C7.5911 3.58654 8.00265 3.58654 8.25649 3.84038ZM3.79265 5.57372C4.04649 5.31988 4.04649 4.90833 3.79265 4.65449C3.53881 4.40065 3.12725 4.40065 2.87341 4.65449L1.38739 6.14051L1.3873 6.1406C0.794145 6.73399 0.460938 7.53866 0.460938 8.37767C0.460938 9.21668 0.794145 10.0213 1.3873 10.6147L1.84704 10.1552L1.38748 10.6149C1.98087 11.2081 2.78554 11.5413 3.62455 11.5413C4.46356 11.5413 5.26823 11.2081 5.86162 10.6149L5.86171 10.6148L7.34773 9.12881C7.60157 8.87497 7.60157 8.46341 7.34773 8.20957C7.09389 7.95573 6.68234 7.95573 6.42849 8.20957L4.94256 9.6955L4.94247 9.69559C4.59287 10.045 4.11883 10.2413 3.62455 10.2413C3.13032 10.2413 2.65631 10.045 2.30672 9.69569C1.95725 9.34608 1.76094 8.87199 1.76094 8.37767C1.76094 7.88339 1.95722 7.40935 2.30663 7.05975L2.30672 7.05966L3.79265 5.57372Z"
14+
fill={fill}
15+
/>
16+
</G>
17+
<Defs>
18+
<ClipPath id="clip0_4143_62023">
19+
<Rect width="12" height="12" fill="white" />
20+
</ClipPath>
21+
</Defs>
22+
</Svg>
23+
);
24+
};

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export * from "./FastForward";
1919
export * from "./Filter";
2020
export * from "./Image";
2121
export * from "./Info";
22+
export * from "./Link";
2223
export * from "./Location";
2324
export * from "./Notification";
2425
export * from "./Search";

0 commit comments

Comments
 (0)