Skip to content

Commit 287d5b3

Browse files
committed
feat: add view icon
Signed-off-by: amitamrutiya <[email protected]>
1 parent 58d1286 commit 287d5b3

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

src/icons/View/ViewIcon.tsx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { FC } from 'react';
2+
import { IconProps } from '../types';
3+
4+
const ViewsIcon: FC<IconProps> = ({ width, height, style = {}, fill }) => (
5+
<svg
6+
style={style}
7+
xmlns="http://www.w3.org/2000/svg"
8+
height={height}
9+
viewBox="0 0 26 23"
10+
width={width}
11+
>
12+
<g clip-path="url(#clip0_23433_12271)">
13+
<path
14+
d="M20.5866 8.85328L14.5 17.99L12.5 13.9993L20.7388 1.03498C20.8625 0.818834 21.0289 0.629639 21.2282 0.478725C21.4274 0.327812 21.6553 0.218281 21.8982 0.156693C22.0596 0.111893 22.2263 0.0891113 22.3938 0.0889721C22.7289 0.0883636 23.0579 0.176991 23.3465 0.345577C23.7828 0.596529 24.1009 1.0086 24.231 1.49149C24.3611 1.97438 24.2927 2.48869 24.0408 2.9217L22.7901 5.07719L20.5866 8.85328Z"
15+
fill={fill}
16+
/>
17+
<path
18+
d="M16.4299 21.5991C16.2979 22.0816 15.9805 22.4937 15.5455 22.7472C15.3289 22.8713 15.0897 22.9518 14.8416 22.984C14.5935 23.0163 14.3414 22.9996 14.0998 22.935C13.8582 22.8704 13.6319 22.7591 13.4339 22.6076C13.2359 22.456 13.07 22.2672 12.9459 22.052L12.6559 21.5462L12.3664 22.052C12.1113 22.4842 11.6946 22.7994 11.2065 22.9295C10.7185 23.0597 10.1984 22.9941 9.75875 22.7472C9.32185 22.4949 9.00355 22.0815 8.87345 21.5974C8.74336 21.1132 8.81205 20.5978 9.0645 20.1637L10.4599 17.769L5.30832 8.94596C5.30596 8.94596 5.31068 8.94596 5.30832 8.94596L3.5 5H7.49997L9.70534 8.94596L16.2393 20.1626C16.3677 20.3767 16.4509 20.6145 16.4836 20.8614C16.5164 21.1084 16.4981 21.3593 16.4299 21.5991Z"
19+
fill={fill}
20+
/>
21+
<path
22+
d="M3.5 5L2.20444 2.9245C2.07914 2.70986 1.99788 2.47281 1.96534 2.22696C1.9328 1.98111 1.94962 1.73132 2.01483 1.49193C2.08004 1.25255 2.19235 1.02828 2.34531 0.832035C2.49828 0.635786 2.68888 0.471418 2.90616 0.348377C3.19532 0.181919 3.52446 0.0958281 3.85887 0.0991778C4.1941 0.0989971 4.5235 0.1861 4.81405 0.351759C5.1046 0.517418 5.34611 0.755816 5.51438 1.04307L7.5 5H3.5Z"
23+
fill={fill}
24+
/>
25+
</g>
26+
<defs>
27+
<clipPath id="clip0_23433_12271">
28+
<rect width="26" height="22.8163" fill="white" transform="matrix(1 0 0 -1 0 22.9082)" />
29+
</clipPath>
30+
</defs>
31+
</svg>
32+
);
33+
34+
export default ViewsIcon;

src/icons/View/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as ViewIcon } from './ViewIcon';

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export * from './Tropy';
104104
export * from './Undeploy';
105105
export * from './Undo';
106106
export * from './Validate';
107+
export * from './View';
107108
export * from './Visibility';
108109
export * from './Visualizer';
109110
export * from './Workspace';

0 commit comments

Comments
 (0)