Skip to content

Commit

Permalink
Merge pull request #34 from DagsHub/add-new-icons
Browse files Browse the repository at this point in the history
Add two new icons
  • Loading branch information
TalMalka123 authored Nov 8, 2023
2 parents 205eaf6 + 2f1583b commit ee1f2d2
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions src/components/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,32 @@ export const icons = {
/>
</svg>
),
'outline-arrow-sm-left': ({ fill, width, height, onClick = () => {} }: IconProp) => (
<svg
onClick={onClick}
width={width}
height={height}
viewBox="0 0 14 12"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M6.70711 0.292893C7.09763 0.683418 7.09763 1.31658 6.70711 1.70711L3.41421 5L13 5C13.5523 5 14 5.44772 14 6C14 6.55229 13.5523 7 13 7L3.41421 7L6.70711 10.2929C7.09763 10.6834 7.09763 11.3166 6.70711 11.7071C6.31658 12.0976 5.68342 12.0976 5.29289 11.7071L0.292893 6.70711C0.105357 6.51957 0 6.26522 0 6C5.96046e-08 5.73478 0.105357 5.48043 0.292893 5.29289L5.29289 0.292893C5.68342 -0.0976311 6.31658 -0.097631 6.70711 0.292893Z"
fill={fill}/>
</svg>
),
'outline-external-link': ({ fill, width, height, onClick = () => {} }: IconProp) => (
<svg
onClick={onClick}
width={width}
height={height}
viewBox="0 0 18 18"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M11 2C10.4477 2 10 1.55228 10 1C10 0.447715 10.4477 0 11 0H17C17.5523 0 18 0.447715 18 1V7C18 7.55228 17.5523 8 17 8C16.4477 8 16 7.55228 16 7V3.41421L7.70711 11.7071C7.31658 12.0976 6.68342 12.0976 6.29289 11.7071C5.90237 11.3166 5.90237 10.6834 6.29289 10.2929L14.5858 2H11ZM3 4C2.44772 4 2 4.44772 2 5V15C2 15.5523 2.44772 16 3 16H13C13.5523 16 14 15.5523 14 15V11C14 10.4477 14.4477 10 15 10C15.5523 10 16 10.4477 16 11V15C16 16.6569 14.6569 18 13 18H3C1.34315 18 0 16.6569 0 15V5C0 3.34315 1.34315 2 3 2H7C7.55228 2 8 2.44772 8 3C8 3.55228 7.55228 4 7 4H3Z"
fill={fill}/>
</svg>
),
'outline-repository-github': ({ fill, width, height, onClick = () => {} }: IconProp) => (
<svg
onClick={onClick}
Expand Down Expand Up @@ -1416,11 +1442,11 @@ export const icons = {
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd" clip-rule="evenodd"
fill-rule="evenodd" clip-rule="evenodd"
d="M20 1.00012C18.5504 1.00012 17.341 2.0282 17.0611 3.39499L6.74008 5.77676C6.27188 4.72971 5.22116 4.00012 4.00003 4.00012C2.34318 4.00012 1.00003 5.34327 1.00003 7.00012C1.00003 8.65698 2.34318 10.0001 4.00003 10.0001C4.07486 10.0001 4.14905 9.99738 4.2225 9.992L6.85827 17.8993C6.32739 18.4405 6.00001 19.182 6.00001 20C6.00001 21.6568 7.34316 23 9.00001 23C10.6569 23 12 21.6568 12 20L17.1999 17.4001C17.7013 17.7768 18.3246 18.0001 19 18.0001C20.6569 18.0001 22 16.6569 22 15.0001C22 13.7362 21.2186 12.655 20.1125 12.2131L20.8756 6.87032C22.1053 6.49564 23 5.35236 23 4.00012C23 2.34327 21.6569 1.00012 20 1.00012ZM19 4.00012C19 3.44784 19.4477 3.00012 20 3.00012C20.5523 3.00012 21 3.44784 21 4.00012C21 4.55241 20.5523 5.00012 20 5.00012C19.4477 5.00012 19 4.55241 19 4.00012ZM16.0871 15.7205L11.3236 18.1022C10.7734 17.4294 9.93688 17 9.00001 17C8.88937 17 8.78012 17.006 8.67258 17.0176L6.0945 9.28344L16.0871 14.2797C16.0302 14.5105 16 14.7517 16 15.0001C16 15.2484 16.0302 15.4897 16.0871 15.7205ZM17.1998 12.6L7.3684 7.68432L17.3374 5.38377C17.6646 6.0121 18.2077 6.51007 18.8683 6.77934L18.1031 12.1364C17.774 12.2394 17.4693 12.3975 17.1998 12.6ZM4.00003 6.00012C3.44775 6.00012 3.00003 6.44784 3.00003 7.00012C3.00003 7.55241 3.44775 8.00012 4.00003 8.00012C4.55231 8.00012 5.00003 7.55241 5.00003 7.00012C5.00003 6.44784 4.55231 6.00012 4.00003 6.00012ZM9.00001 19C8.44773 19 8.00001 19.4477 8.00001 20C8.00001 20.5523 8.44773 21 9.00001 21C9.5523 21 10 20.5523 10 20C10 19.4477 9.5523 19 9.00001 19ZM19 14.0001C18.4477 14.0001 18 14.4478 18 15.0001C18 15.5523 18.4477 16.0001 19 16.0001C19.5523 16.0001 20 15.5523 20 15.0001C20 14.4478 19.5523 14.0001 19 14.0001Z"
fill={fill}
/>
</svg>
</svg>
),
'outline-discussions': ({ fill, width, height, onClick = () => {} }: IconProp) => (
<svg
Expand Down

0 comments on commit ee1f2d2

Please sign in to comment.