Skip to content

Commit

Permalink
feat: add view icon
Browse files Browse the repository at this point in the history
Signed-off-by: amitamrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Jan 31, 2025
1 parent 58d1286 commit 287d5b3
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/icons/View/ViewIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { FC } from 'react';
import { IconProps } from '../types';

const ViewsIcon: FC<IconProps> = ({ width, height, style = {}, fill }) => (
<svg
style={style}
xmlns="http://www.w3.org/2000/svg"
height={height}
viewBox="0 0 26 23"
width={width}
>
<g clip-path="url(#clip0_23433_12271)">
<path
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"
fill={fill}
/>
<path
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"
fill={fill}
/>
<path
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"
fill={fill}
/>
</g>
<defs>
<clipPath id="clip0_23433_12271">
<rect width="26" height="22.8163" fill="white" transform="matrix(1 0 0 -1 0 22.9082)" />
</clipPath>
</defs>
</svg>
);

export default ViewsIcon;
1 change: 1 addition & 0 deletions src/icons/View/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as ViewIcon } from './ViewIcon';
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export * from './Tropy';
export * from './Undeploy';
export * from './Undo';
export * from './Validate';
export * from './View';
export * from './Visibility';
export * from './Visualizer';
export * from './Workspace';

0 comments on commit 287d5b3

Please sign in to comment.