Skip to content

Commit 1bb500e

Browse files
Add discussion icon
1 parent 2d910f5 commit 1bb500e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code4rena/components-library",
3-
"version": "4.0.3",
3+
"version": "4.1.0",
44
"description": "Code4rena's official components library ",
55
"types": "./dist/lib.d.ts",
66
"exports": {

src/lib/Icon/iconList.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,5 +361,11 @@ export const icons = (size: string, color: string, className?: string): Record<s
361361
<g>
362362
<path fill={color} fillRule="evenodd" clipRule="evenodd" d="M5.26351 5.2636C5.61498 4.91213 6.18483 4.91213 6.5363 5.2636L11.3999 10.1272L16.2635 5.2636C16.615 4.91213 17.1848 4.91213 17.5363 5.2636C17.8878 5.61508 17.8878 6.18492 17.5363 6.5364L12.6727 11.4L17.5363 16.2636C17.8878 16.6151 17.8878 17.1849 17.5363 17.5364C17.1848 17.8879 16.615 17.8879 16.2635 17.5364L11.3999 12.6728L6.5363 17.5364C6.18483 17.8879 5.61498 17.8879 5.26351 17.5364C4.91204 17.1849 4.91204 16.6151 5.26351 16.2636L10.1271 11.4L5.26351 6.5364C4.91204 6.18492 4.91204 5.61508 5.26351 5.2636Z" />
363363
</g>
364+
</svg>,
365+
"discussion": <svg className={className} width={size} height={size} viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
366+
<g>
367+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.00833 15.125C1.00833 11.8849 3.63493 9.2583 6.875 9.2583C10.1151 9.2583 12.7417 11.8849 12.7417 15.125C12.7417 18.3651 10.1151 20.9916 6.875 20.9916C5.92 20.9916 5.01642 20.7629 4.21799 20.3567L2.23642 20.7256C1.96906 20.7754 1.69435 20.6902 1.50205 20.4979C1.30975 20.3056 1.22458 20.0309 1.27435 19.7635L1.64329 17.782C1.23713 16.9836 1.00833 16.08 1.00833 15.125ZM6.875 10.9083C4.54619 10.9083 2.65833 12.7961 2.65833 15.125C2.65833 15.8944 2.86365 16.6133 3.22194 17.2327C3.32054 17.4031 3.35492 17.6032 3.31888 17.7968L3.11658 18.8834L4.20316 18.6811C4.39675 18.645 4.59684 18.6794 4.76728 18.778C5.38663 19.1363 6.10557 19.3416 6.875 19.3416C9.20383 19.3416 11.0917 17.4538 11.0917 15.125C11.0917 12.7961 9.20383 10.9083 6.875 10.9083Z" fill={color} />
368+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.75879 7.99373C5.32806 4.04345 8.72553 1.0083 12.8333 1.0083C17.3391 1.0083 20.9917 4.66091 20.9917 9.16663C20.9917 10.54 20.6517 11.8361 20.0508 12.9732L20.6111 15.9823C20.6608 16.2496 20.5757 16.5244 20.3834 16.7167C20.1911 16.909 19.9163 16.9941 19.649 16.9444L16.6399 16.3841C15.8713 16.7902 15.0298 17.0774 14.1401 17.2208C13.6903 17.2933 13.2668 16.9873 13.1944 16.5375C13.1219 16.0877 13.4278 15.6643 13.8776 15.5918C14.6712 15.4639 15.4166 15.1925 16.0869 14.8047C16.2573 14.7061 16.4574 14.6718 16.651 14.7078L18.7688 15.1021L18.3745 12.9843C18.3385 12.7907 18.3728 12.5906 18.4714 12.4202C19.0247 11.4637 19.3417 10.3534 19.3417 9.16663C19.3417 5.57218 16.4278 2.6583 12.8333 2.6583C9.5576 2.6583 6.84586 5.07911 6.39192 8.22908C6.32693 8.68005 5.90866 8.99296 5.45768 8.92797C5.00671 8.86298 4.6938 8.44471 4.75879 7.99373Z" fill={color} />
369+
</g>
364370
</svg>
365371
})

0 commit comments

Comments
 (0)