-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Giveth/feat/docs-icon
Add docs social-icon component
- Loading branch information
Showing
6 changed files
with
146 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React, { FC } from 'react'; | ||
import { ISocialIconProps } from '../type'; | ||
import { IconDocs16 } from './Docs16'; | ||
import { IconDocs24 } from './Docs24'; | ||
import { IconDocs32 } from './Docs32'; | ||
|
||
export const IconDocs: FC<ISocialIconProps> = ({ | ||
size = 16, | ||
color = 'currentColor', | ||
}) => { | ||
switch (size.toString()) { | ||
case '16': | ||
return <IconDocs16 color={color} />; | ||
case '24': | ||
return <IconDocs24 color={color} />; | ||
case '32': | ||
return <IconDocs32 color={color} />; | ||
default: | ||
return <IconDocs24 size={size} color={color} />; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React, { FC } from 'react'; | ||
import { ISocialIconProps } from '../type'; | ||
|
||
export const IconDocs16: FC<ISocialIconProps> = ({ | ||
size = 16, | ||
color = 'currentColor', | ||
}) => ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox={`0 0 ${size} ${size}`} | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M8.74121 11.773V11.3713C8.5427 11.527 8.32178 11.6453 8.07845 11.7263C7.83512 11.801 7.58219 11.8384 7.31964 11.8384C6.96746 11.8384 6.63448 11.773 6.32071 11.6422C6.01334 11.5114 5.7444 11.334 5.51387 11.1098C5.28335 10.8856 5.10085 10.621 4.96638 10.3158C4.83831 10.0107 4.77428 9.6838 4.77428 9.33509C4.77428 8.98637 4.84151 8.65946 4.97599 8.35433C5.11046 8.04921 5.29296 7.78456 5.52348 7.56039C5.754 7.33621 6.02615 7.16186 6.33992 7.03732C6.66009 6.90655 6.99947 6.84116 7.35807 6.84116C7.6014 6.84116 7.83832 6.87541 8.06885 6.94391C8.30577 7.00618 8.52349 7.09959 8.722 7.22413V5.23459L10.0379 4.95438V11.773H8.74121ZM6.07097 9.33509C6.07097 9.72739 6.21185 10.0605 6.4936 10.3345C6.77535 10.6085 7.12114 10.7455 7.53095 10.7455C7.77429 10.7455 7.99521 10.705 8.1937 10.6241C8.39863 10.5431 8.57472 10.4279 8.722 10.2785V8.38235C8.58112 8.23913 8.40503 8.12705 8.1937 8.04609C7.98879 7.96514 7.76788 7.92467 7.53095 7.92467C7.11472 7.92467 6.76575 8.06166 6.484 8.33565C6.20865 8.60341 6.07097 8.93656 6.07097 9.33509Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M10.459 9.34443C10.459 8.98949 10.5262 8.65945 10.6607 8.35433C10.8015 8.04298 10.9904 7.77522 11.2274 7.55104C11.4707 7.32064 11.7556 7.14006 12.0822 7.00929C12.4088 6.87852 12.7578 6.81314 13.1292 6.81314C13.5006 6.81314 13.8496 6.87852 14.1761 7.00929C14.5027 7.14006 14.7845 7.32064 15.0214 7.55104C15.2647 7.77522 15.4536 8.04298 15.5881 8.35433C15.729 8.65945 15.7994 8.98949 15.7994 9.34443C15.7994 9.69937 15.729 10.0325 15.5881 10.3439C15.4536 10.649 15.2647 10.9136 15.0214 11.1378C14.7845 11.362 14.5027 11.5395 14.1761 11.6702C13.8496 11.801 13.5006 11.8664 13.1292 11.8664C12.7578 11.8664 12.4088 11.801 12.0822 11.6702C11.7556 11.5395 11.4707 11.362 11.2274 11.1378C10.9904 10.9136 10.8015 10.649 10.6607 10.3439C10.5262 10.0325 10.459 9.69937 10.459 9.34443ZM13.1292 10.7548C13.5134 10.7548 13.84 10.6179 14.1089 10.3439C14.3779 10.0699 14.5123 9.73673 14.5123 9.34443C14.5123 8.9459 14.3779 8.60964 14.1089 8.33565C13.84 8.06166 13.5134 7.92466 13.1292 7.92466C12.745 7.92466 12.4184 8.06166 12.1495 8.33565C11.8805 8.60964 11.746 8.9459 11.746 9.34443C11.746 9.73673 11.8805 10.0699 12.1495 10.3439C12.4184 10.6179 12.745 10.7548 13.1292 10.7548Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M7.68128 16.7915C7.92284 16.7915 8.14715 16.7445 8.3542 16.6504C8.56815 16.5564 8.77175 16.4087 8.96501 16.2073L9.81392 17.0633C9.53785 17.3588 9.20657 17.5905 8.82007 17.7583C8.43357 17.9194 8.03326 18 7.61916 18C7.22576 18 6.85307 17.9295 6.50108 17.7885C6.15599 17.6475 5.85576 17.4561 5.6004 17.2144C5.35193 16.9727 5.15524 16.6874 5.0103 16.3584C4.86536 16.0226 4.79289 15.6634 4.79289 15.2807C4.79289 14.898 4.86536 14.5422 5.0103 14.2131C5.15524 13.8774 5.35193 13.5887 5.6004 13.347C5.85576 13.0986 6.15599 12.9039 6.50108 12.7629C6.85307 12.6219 7.22576 12.5514 7.61916 12.5514C8.04707 12.5514 8.45772 12.6353 8.85113 12.8032C9.24453 12.9643 9.57926 13.1926 9.85533 13.488L8.98571 14.3843C8.79246 14.1762 8.58541 14.0184 8.36455 13.911C8.14369 13.8036 7.90559 13.7499 7.65022 13.7499C7.24302 13.7499 6.89792 13.8976 6.61495 14.193C6.33888 14.4885 6.20085 14.851 6.20085 15.2807C6.20085 15.7104 6.34234 16.0696 6.62531 16.3584C6.91518 16.6471 7.26717 16.7915 7.68128 16.7915Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M10.664 17.2749L11.3679 16.3584C11.6854 16.5598 11.9857 16.7108 12.2686 16.8116C12.5516 16.9056 12.8346 16.9526 13.1176 16.9526C13.435 16.9526 13.687 16.9022 13.8733 16.8015C14.0666 16.7008 14.1631 16.5665 14.1631 16.3987C14.1631 16.2643 14.1079 16.1569 13.9975 16.0763C13.894 15.9958 13.7249 15.9388 13.4903 15.9051L12.455 15.7541C11.9235 15.6735 11.5163 15.5057 11.2334 15.2505C10.9573 14.9954 10.8193 14.6563 10.8193 14.2333C10.8193 13.7297 11.0229 13.3268 11.4301 13.0247C11.8373 12.7226 12.3825 12.5715 13.0657 12.5715C13.4592 12.5715 13.8423 12.6286 14.215 12.7427C14.5877 12.8502 14.9431 13.0113 15.2812 13.2261L14.598 14.1124C14.3012 13.9446 14.0183 13.8204 13.749 13.7398C13.4799 13.6525 13.2072 13.6089 12.9312 13.6089C12.6758 13.6089 12.4688 13.6559 12.31 13.7499C12.1582 13.8439 12.0823 13.9681 12.0823 14.1225C12.0823 14.2635 12.1375 14.3743 12.2479 14.4549C12.3653 14.5287 12.5551 14.5824 12.8173 14.616L13.8526 14.7671C14.3771 14.841 14.7809 15.0088 15.0638 15.2706C15.3537 15.5326 15.4986 15.8648 15.4986 16.2677C15.4986 16.5161 15.4365 16.7478 15.3123 16.9626C15.195 17.1708 15.0328 17.3521 14.8257 17.5065C14.6187 17.6609 14.3702 17.7818 14.0804 17.869C13.7904 17.9563 13.4765 18 13.1383 18C12.6482 18 12.1893 17.9396 11.7613 17.8187C11.3334 17.6912 10.9676 17.5098 10.664 17.2749Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M9.59711 0C9.82525 0.0168516 10.0538 0.0266724 10.2812 0.0505548C11.6123 0.190873 12.8382 0.618226 13.959 1.33261C13.9666 1.33817 13.9738 1.34413 13.9807 1.35047L13.2723 2.03804C13.1181 2.18769 12.9649 2.33836 12.8088 2.48611C12.7989 2.49232 12.7877 2.49608 12.776 2.49708C12.7643 2.49807 12.7525 2.49626 12.7417 2.4918C11.6134 1.86052 10.3988 1.57017 9.09806 1.62077C6.18781 1.73482 3.65074 3.73927 2.95292 6.48786C2.521 8.19088 2.76129 9.80873 3.65074 11.3357C3.65923 11.3503 3.65969 11.3823 3.64948 11.3916C3.26337 11.7699 2.87593 12.1471 2.48714 12.5234C2.48336 12.5271 2.47866 12.5301 2.46982 12.537C2.43321 12.4819 2.39637 12.4286 2.36172 12.3741C1.4025 10.8662 0.979065 9.2272 1.11608 7.45811C1.4017 3.78055 4.21635 0.767696 7.96166 0.127893C8.34034 0.0632772 8.72764 0.046872 9.11079 0.0081468L9.18905 0H9.59711Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M13.8069 4.87507C13.8076 4.53922 13.9279 4.21398 14.1474 3.95469C14.3669 3.6954 14.672 3.5181 15.0108 3.45297C15.3496 3.38783 15.7011 3.43889 16.0055 3.59743C16.31 3.75599 16.5485 4.01224 16.6805 4.32258C16.8126 4.63292 16.8299 4.97816 16.7296 5.29954C16.6294 5.62093 16.4177 5.89859 16.1306 6.08527C15.8435 6.27196 15.4989 6.35612 15.1551 6.32344C14.8114 6.29075 14.49 6.14325 14.2455 5.90603C14.1063 5.77067 13.9959 5.60994 13.9206 5.43303C13.8454 5.25613 13.8067 5.06652 13.8069 4.87507Z' | ||
fill={color} | ||
/> | ||
</svg> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React, { FC } from 'react'; | ||
import { ISocialIconProps } from '../type'; | ||
|
||
export const IconDocs24: FC<ISocialIconProps> = ({ | ||
size = 24, | ||
color = 'currentColor', | ||
}) => ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox={`0 0 ${size} ${size}`} | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M8.74121 11.773V11.3713C8.5427 11.527 8.32178 11.6453 8.07845 11.7263C7.83512 11.801 7.58219 11.8384 7.31964 11.8384C6.96746 11.8384 6.63448 11.773 6.32071 11.6422C6.01334 11.5114 5.7444 11.334 5.51387 11.1098C5.28335 10.8856 5.10085 10.621 4.96638 10.3158C4.83831 10.0107 4.77428 9.6838 4.77428 9.33509C4.77428 8.98637 4.84151 8.65946 4.97599 8.35433C5.11046 8.04921 5.29296 7.78456 5.52348 7.56039C5.754 7.33621 6.02615 7.16186 6.33992 7.03732C6.66009 6.90655 6.99947 6.84116 7.35807 6.84116C7.6014 6.84116 7.83832 6.87541 8.06885 6.94391C8.30577 7.00618 8.52349 7.09959 8.722 7.22413V5.23459L10.0379 4.95438V11.773H8.74121ZM6.07097 9.33509C6.07097 9.72739 6.21185 10.0605 6.4936 10.3345C6.77535 10.6085 7.12114 10.7455 7.53095 10.7455C7.77429 10.7455 7.99521 10.705 8.1937 10.6241C8.39863 10.5431 8.57472 10.4279 8.722 10.2785V8.38235C8.58112 8.23913 8.40503 8.12705 8.1937 8.04609C7.98879 7.96514 7.76788 7.92467 7.53095 7.92467C7.11472 7.92467 6.76575 8.06166 6.484 8.33565C6.20865 8.60341 6.07097 8.93656 6.07097 9.33509Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M10.459 9.34443C10.459 8.98949 10.5262 8.65945 10.6607 8.35433C10.8015 8.04298 10.9904 7.77522 11.2274 7.55104C11.4707 7.32064 11.7556 7.14006 12.0822 7.00929C12.4088 6.87852 12.7578 6.81314 13.1292 6.81314C13.5006 6.81314 13.8496 6.87852 14.1761 7.00929C14.5027 7.14006 14.7845 7.32064 15.0214 7.55104C15.2647 7.77522 15.4536 8.04298 15.5881 8.35433C15.729 8.65945 15.7994 8.98949 15.7994 9.34443C15.7994 9.69937 15.729 10.0325 15.5881 10.3439C15.4536 10.649 15.2647 10.9136 15.0214 11.1378C14.7845 11.362 14.5027 11.5395 14.1761 11.6702C13.8496 11.801 13.5006 11.8664 13.1292 11.8664C12.7578 11.8664 12.4088 11.801 12.0822 11.6702C11.7556 11.5395 11.4707 11.362 11.2274 11.1378C10.9904 10.9136 10.8015 10.649 10.6607 10.3439C10.5262 10.0325 10.459 9.69937 10.459 9.34443ZM13.1292 10.7548C13.5134 10.7548 13.84 10.6179 14.1089 10.3439C14.3779 10.0699 14.5123 9.73673 14.5123 9.34443C14.5123 8.9459 14.3779 8.60964 14.1089 8.33565C13.84 8.06166 13.5134 7.92466 13.1292 7.92466C12.745 7.92466 12.4184 8.06166 12.1495 8.33565C11.8805 8.60964 11.746 8.9459 11.746 9.34443C11.746 9.73673 11.8805 10.0699 12.1495 10.3439C12.4184 10.6179 12.745 10.7548 13.1292 10.7548Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M7.68128 16.7915C7.92284 16.7915 8.14715 16.7445 8.3542 16.6504C8.56815 16.5564 8.77175 16.4087 8.96501 16.2073L9.81392 17.0633C9.53785 17.3588 9.20657 17.5905 8.82007 17.7583C8.43357 17.9194 8.03326 18 7.61916 18C7.22576 18 6.85307 17.9295 6.50108 17.7885C6.15599 17.6475 5.85576 17.4561 5.6004 17.2144C5.35193 16.9727 5.15524 16.6874 5.0103 16.3584C4.86536 16.0226 4.79289 15.6634 4.79289 15.2807C4.79289 14.898 4.86536 14.5422 5.0103 14.2131C5.15524 13.8774 5.35193 13.5887 5.6004 13.347C5.85576 13.0986 6.15599 12.9039 6.50108 12.7629C6.85307 12.6219 7.22576 12.5514 7.61916 12.5514C8.04707 12.5514 8.45772 12.6353 8.85113 12.8032C9.24453 12.9643 9.57926 13.1926 9.85533 13.488L8.98571 14.3843C8.79246 14.1762 8.58541 14.0184 8.36455 13.911C8.14369 13.8036 7.90559 13.7499 7.65022 13.7499C7.24302 13.7499 6.89792 13.8976 6.61495 14.193C6.33888 14.4885 6.20085 14.851 6.20085 15.2807C6.20085 15.7104 6.34234 16.0696 6.62531 16.3584C6.91518 16.6471 7.26717 16.7915 7.68128 16.7915Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M10.664 17.2749L11.3679 16.3584C11.6854 16.5598 11.9857 16.7108 12.2686 16.8116C12.5516 16.9056 12.8346 16.9526 13.1176 16.9526C13.435 16.9526 13.687 16.9022 13.8733 16.8015C14.0666 16.7008 14.1631 16.5665 14.1631 16.3987C14.1631 16.2643 14.1079 16.1569 13.9975 16.0763C13.894 15.9958 13.7249 15.9388 13.4903 15.9051L12.455 15.7541C11.9235 15.6735 11.5163 15.5057 11.2334 15.2505C10.9573 14.9954 10.8193 14.6563 10.8193 14.2333C10.8193 13.7297 11.0229 13.3268 11.4301 13.0247C11.8373 12.7226 12.3825 12.5715 13.0657 12.5715C13.4592 12.5715 13.8423 12.6286 14.215 12.7427C14.5877 12.8502 14.9431 13.0113 15.2812 13.2261L14.598 14.1124C14.3012 13.9446 14.0183 13.8204 13.749 13.7398C13.4799 13.6525 13.2072 13.6089 12.9312 13.6089C12.6758 13.6089 12.4688 13.6559 12.31 13.7499C12.1582 13.8439 12.0823 13.9681 12.0823 14.1225C12.0823 14.2635 12.1375 14.3743 12.2479 14.4549C12.3653 14.5287 12.5551 14.5824 12.8173 14.616L13.8526 14.7671C14.3771 14.841 14.7809 15.0088 15.0638 15.2706C15.3537 15.5326 15.4986 15.8648 15.4986 16.2677C15.4986 16.5161 15.4365 16.7478 15.3123 16.9626C15.195 17.1708 15.0328 17.3521 14.8257 17.5065C14.6187 17.6609 14.3702 17.7818 14.0804 17.869C13.7904 17.9563 13.4765 18 13.1383 18C12.6482 18 12.1893 17.9396 11.7613 17.8187C11.3334 17.6912 10.9676 17.5098 10.664 17.2749Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M9.59711 0C9.82525 0.0168516 10.0538 0.0266724 10.2812 0.0505548C11.6123 0.190873 12.8382 0.618226 13.959 1.33261C13.9666 1.33817 13.9738 1.34413 13.9807 1.35047L13.2723 2.03804C13.1181 2.18769 12.9649 2.33836 12.8088 2.48611C12.7989 2.49232 12.7877 2.49608 12.776 2.49708C12.7643 2.49807 12.7525 2.49626 12.7417 2.4918C11.6134 1.86052 10.3988 1.57017 9.09806 1.62077C6.18781 1.73482 3.65074 3.73927 2.95292 6.48786C2.521 8.19088 2.76129 9.80873 3.65074 11.3357C3.65923 11.3503 3.65969 11.3823 3.64948 11.3916C3.26337 11.7699 2.87593 12.1471 2.48714 12.5234C2.48336 12.5271 2.47866 12.5301 2.46982 12.537C2.43321 12.4819 2.39637 12.4286 2.36172 12.3741C1.4025 10.8662 0.979065 9.2272 1.11608 7.45811C1.4017 3.78055 4.21635 0.767696 7.96166 0.127893C8.34034 0.0632772 8.72764 0.046872 9.11079 0.0081468L9.18905 0H9.59711Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M13.8069 4.87507C13.8076 4.53922 13.9279 4.21398 14.1474 3.95469C14.3669 3.6954 14.672 3.5181 15.0108 3.45297C15.3496 3.38783 15.7011 3.43889 16.0055 3.59743C16.31 3.75599 16.5485 4.01224 16.6805 4.32258C16.8126 4.63292 16.8299 4.97816 16.7296 5.29954C16.6294 5.62093 16.4177 5.89859 16.1306 6.08527C15.8435 6.27196 15.4989 6.35612 15.1551 6.32344C14.8114 6.29075 14.49 6.14325 14.2455 5.90603C14.1063 5.77067 13.9959 5.60994 13.9206 5.43303C13.8454 5.25613 13.8067 5.06652 13.8069 4.87507Z' | ||
fill={color} | ||
/> | ||
</svg> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React, { FC } from 'react'; | ||
import { ISocialIconProps } from '../type'; | ||
|
||
export const IconDocs32: FC<ISocialIconProps> = ({ | ||
size = 32, | ||
color = 'currentColor', | ||
}) => ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox={`0 0 ${size} ${size}`} | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M8.74121 11.773V11.3713C8.5427 11.527 8.32178 11.6453 8.07845 11.7263C7.83512 11.801 7.58219 11.8384 7.31964 11.8384C6.96746 11.8384 6.63448 11.773 6.32071 11.6422C6.01334 11.5114 5.7444 11.334 5.51387 11.1098C5.28335 10.8856 5.10085 10.621 4.96638 10.3158C4.83831 10.0107 4.77428 9.6838 4.77428 9.33509C4.77428 8.98637 4.84151 8.65946 4.97599 8.35433C5.11046 8.04921 5.29296 7.78456 5.52348 7.56039C5.754 7.33621 6.02615 7.16186 6.33992 7.03732C6.66009 6.90655 6.99947 6.84116 7.35807 6.84116C7.6014 6.84116 7.83832 6.87541 8.06885 6.94391C8.30577 7.00618 8.52349 7.09959 8.722 7.22413V5.23459L10.0379 4.95438V11.773H8.74121ZM6.07097 9.33509C6.07097 9.72739 6.21185 10.0605 6.4936 10.3345C6.77535 10.6085 7.12114 10.7455 7.53095 10.7455C7.77429 10.7455 7.99521 10.705 8.1937 10.6241C8.39863 10.5431 8.57472 10.4279 8.722 10.2785V8.38235C8.58112 8.23913 8.40503 8.12705 8.1937 8.04609C7.98879 7.96514 7.76788 7.92467 7.53095 7.92467C7.11472 7.92467 6.76575 8.06166 6.484 8.33565C6.20865 8.60341 6.07097 8.93656 6.07097 9.33509Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M10.459 9.34443C10.459 8.98949 10.5262 8.65945 10.6607 8.35433C10.8015 8.04298 10.9904 7.77522 11.2274 7.55104C11.4707 7.32064 11.7556 7.14006 12.0822 7.00929C12.4088 6.87852 12.7578 6.81314 13.1292 6.81314C13.5006 6.81314 13.8496 6.87852 14.1761 7.00929C14.5027 7.14006 14.7845 7.32064 15.0214 7.55104C15.2647 7.77522 15.4536 8.04298 15.5881 8.35433C15.729 8.65945 15.7994 8.98949 15.7994 9.34443C15.7994 9.69937 15.729 10.0325 15.5881 10.3439C15.4536 10.649 15.2647 10.9136 15.0214 11.1378C14.7845 11.362 14.5027 11.5395 14.1761 11.6702C13.8496 11.801 13.5006 11.8664 13.1292 11.8664C12.7578 11.8664 12.4088 11.801 12.0822 11.6702C11.7556 11.5395 11.4707 11.362 11.2274 11.1378C10.9904 10.9136 10.8015 10.649 10.6607 10.3439C10.5262 10.0325 10.459 9.69937 10.459 9.34443ZM13.1292 10.7548C13.5134 10.7548 13.84 10.6179 14.1089 10.3439C14.3779 10.0699 14.5123 9.73673 14.5123 9.34443C14.5123 8.9459 14.3779 8.60964 14.1089 8.33565C13.84 8.06166 13.5134 7.92466 13.1292 7.92466C12.745 7.92466 12.4184 8.06166 12.1495 8.33565C11.8805 8.60964 11.746 8.9459 11.746 9.34443C11.746 9.73673 11.8805 10.0699 12.1495 10.3439C12.4184 10.6179 12.745 10.7548 13.1292 10.7548Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M7.68128 16.7915C7.92284 16.7915 8.14715 16.7445 8.3542 16.6504C8.56815 16.5564 8.77175 16.4087 8.96501 16.2073L9.81392 17.0633C9.53785 17.3588 9.20657 17.5905 8.82007 17.7583C8.43357 17.9194 8.03326 18 7.61916 18C7.22576 18 6.85307 17.9295 6.50108 17.7885C6.15599 17.6475 5.85576 17.4561 5.6004 17.2144C5.35193 16.9727 5.15524 16.6874 5.0103 16.3584C4.86536 16.0226 4.79289 15.6634 4.79289 15.2807C4.79289 14.898 4.86536 14.5422 5.0103 14.2131C5.15524 13.8774 5.35193 13.5887 5.6004 13.347C5.85576 13.0986 6.15599 12.9039 6.50108 12.7629C6.85307 12.6219 7.22576 12.5514 7.61916 12.5514C8.04707 12.5514 8.45772 12.6353 8.85113 12.8032C9.24453 12.9643 9.57926 13.1926 9.85533 13.488L8.98571 14.3843C8.79246 14.1762 8.58541 14.0184 8.36455 13.911C8.14369 13.8036 7.90559 13.7499 7.65022 13.7499C7.24302 13.7499 6.89792 13.8976 6.61495 14.193C6.33888 14.4885 6.20085 14.851 6.20085 15.2807C6.20085 15.7104 6.34234 16.0696 6.62531 16.3584C6.91518 16.6471 7.26717 16.7915 7.68128 16.7915Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M10.664 17.2749L11.3679 16.3584C11.6854 16.5598 11.9857 16.7108 12.2686 16.8116C12.5516 16.9056 12.8346 16.9526 13.1176 16.9526C13.435 16.9526 13.687 16.9022 13.8733 16.8015C14.0666 16.7008 14.1631 16.5665 14.1631 16.3987C14.1631 16.2643 14.1079 16.1569 13.9975 16.0763C13.894 15.9958 13.7249 15.9388 13.4903 15.9051L12.455 15.7541C11.9235 15.6735 11.5163 15.5057 11.2334 15.2505C10.9573 14.9954 10.8193 14.6563 10.8193 14.2333C10.8193 13.7297 11.0229 13.3268 11.4301 13.0247C11.8373 12.7226 12.3825 12.5715 13.0657 12.5715C13.4592 12.5715 13.8423 12.6286 14.215 12.7427C14.5877 12.8502 14.9431 13.0113 15.2812 13.2261L14.598 14.1124C14.3012 13.9446 14.0183 13.8204 13.749 13.7398C13.4799 13.6525 13.2072 13.6089 12.9312 13.6089C12.6758 13.6089 12.4688 13.6559 12.31 13.7499C12.1582 13.8439 12.0823 13.9681 12.0823 14.1225C12.0823 14.2635 12.1375 14.3743 12.2479 14.4549C12.3653 14.5287 12.5551 14.5824 12.8173 14.616L13.8526 14.7671C14.3771 14.841 14.7809 15.0088 15.0638 15.2706C15.3537 15.5326 15.4986 15.8648 15.4986 16.2677C15.4986 16.5161 15.4365 16.7478 15.3123 16.9626C15.195 17.1708 15.0328 17.3521 14.8257 17.5065C14.6187 17.6609 14.3702 17.7818 14.0804 17.869C13.7904 17.9563 13.4765 18 13.1383 18C12.6482 18 12.1893 17.9396 11.7613 17.8187C11.3334 17.6912 10.9676 17.5098 10.664 17.2749Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M9.59711 0C9.82525 0.0168516 10.0538 0.0266724 10.2812 0.0505548C11.6123 0.190873 12.8382 0.618226 13.959 1.33261C13.9666 1.33817 13.9738 1.34413 13.9807 1.35047L13.2723 2.03804C13.1181 2.18769 12.9649 2.33836 12.8088 2.48611C12.7989 2.49232 12.7877 2.49608 12.776 2.49708C12.7643 2.49807 12.7525 2.49626 12.7417 2.4918C11.6134 1.86052 10.3988 1.57017 9.09806 1.62077C6.18781 1.73482 3.65074 3.73927 2.95292 6.48786C2.521 8.19088 2.76129 9.80873 3.65074 11.3357C3.65923 11.3503 3.65969 11.3823 3.64948 11.3916C3.26337 11.7699 2.87593 12.1471 2.48714 12.5234C2.48336 12.5271 2.47866 12.5301 2.46982 12.537C2.43321 12.4819 2.39637 12.4286 2.36172 12.3741C1.4025 10.8662 0.979065 9.2272 1.11608 7.45811C1.4017 3.78055 4.21635 0.767696 7.96166 0.127893C8.34034 0.0632772 8.72764 0.046872 9.11079 0.0081468L9.18905 0H9.59711Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M13.8069 4.87507C13.8076 4.53922 13.9279 4.21398 14.1474 3.95469C14.3669 3.6954 14.672 3.5181 15.0108 3.45297C15.3496 3.38783 15.7011 3.43889 16.0055 3.59743C16.31 3.75599 16.5485 4.01224 16.6805 4.32258C16.8126 4.63292 16.8299 4.97816 16.7296 5.29954C16.6294 5.62093 16.4177 5.89859 16.1306 6.08527C15.8435 6.27196 15.4989 6.35612 15.1551 6.32344C14.8114 6.29075 14.49 6.14325 14.2455 5.90603C14.1063 5.77067 13.9959 5.60994 13.9206 5.43303C13.8454 5.25613 13.8067 5.06652 13.8069 4.87507Z' | ||
fill={color} | ||
/> | ||
</svg> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export interface ISocialIconProps { | ||
color?: string; | ||
size?: 18 | 24; | ||
size?: 18 | 24 | 32 | number; | ||
} |