-
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 #99 from Giveth/add-Estimated-icon
Add estimated icon
- Loading branch information
Showing
30 changed files
with
381 additions
and
794 deletions.
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
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
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
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 { IIconProps } from '../type'; | ||
import { IconEstimated16 } from './Estimated16'; | ||
import { IconEstimated24 } from './Estimated24'; | ||
import { IconEstimated32 } from './Estimated32'; | ||
|
||
export const IconEstimated: FC<IIconProps> = ({ | ||
size = 16, | ||
color = 'currentColor', | ||
}) => { | ||
switch (size.toString()) { | ||
case '16': | ||
return <IconEstimated16 color={color} />; | ||
case '24': | ||
return <IconEstimated24 color={color} />; | ||
case '32': | ||
return <IconEstimated32 color={color} />; | ||
default: | ||
return <IconEstimated24 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,21 @@ | ||
import React, { FC } from 'react'; | ||
import { IIconProps } from '../type'; | ||
|
||
export const IconEstimated16: FC<IIconProps> = ({ color = 'currentColor' }) => ( | ||
<svg | ||
width='16' | ||
height='16' | ||
viewBox='0 0 16 16' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M0 1.33333C0 0.596953 0.596954 0 1.33333 0H14.6667C15.403 0 16 0.596954 16 1.33333V14.6667C16 15.403 15.403 16 14.6667 16H1.33333C0.596953 16 0 15.403 0 14.6667V1.33333Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M2.65799 10.0879C2.29372 10.0879 1.99376 9.79504 2.0115 9.4312C2.05267 8.58655 2.20441 7.88554 2.46671 7.32817C2.79423 6.63221 3.21942 6.12575 3.7423 5.80879C4.27092 5.49182 4.82827 5.33333 5.41435 5.33333C6.00043 5.33333 6.5348 5.48837 7.01745 5.79845C7.50585 6.10164 8.0632 6.58053 8.68951 7.23514C9.1147 7.67614 9.45371 7.98622 9.70653 8.16537C9.96509 8.34453 10.2466 8.43411 10.5512 8.43411C11.0453 8.43411 11.436 8.2205 11.7233 7.79328C11.8886 7.54364 12.0044 7.23019 12.0708 6.85293C12.1608 6.34139 12.562 5.91215 13.0814 5.91215C13.5902 5.91215 14.012 6.3215 13.972 6.82875C13.9144 7.55831 13.7682 8.17268 13.5333 8.67183C13.2115 9.36779 12.7863 9.87425 12.2577 10.1912C11.7291 10.5082 11.1717 10.6667 10.5856 10.6667C9.99957 10.6667 9.4652 10.5151 8.98255 10.2119C8.49989 9.90181 7.94254 9.41947 7.31049 8.76486C6.89104 8.32386 6.55204 8.01378 6.29347 7.83463C6.03491 7.65547 5.75336 7.56589 5.44883 7.56589C4.98341 7.56589 4.59843 7.76227 4.2939 8.15504C4.07578 8.43673 3.94034 8.85614 3.88758 9.41325C3.85255 9.7831 3.55926 10.0879 3.18775 10.0879H2.65799Z' | ||
fill='white' | ||
/> | ||
</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,24 @@ | ||
import React, { FC } from 'react'; | ||
import { IIconProps } from '../type'; | ||
|
||
export const IconEstimated24: FC<IIconProps> = ({ | ||
color = 'currentColor', | ||
size = 24, | ||
}) => ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox='0 0 24 24' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M3.98698 15.1318C3.44057 15.1318 2.99065 14.6926 3.01725 14.1468C3.07901 12.8798 3.30661 11.8283 3.70006 10.9922C4.19134 9.94832 4.82913 9.18863 5.61345 8.71318C6.40638 8.23773 7.2424 8 8.12153 8C9.00065 8 9.8022 8.23256 10.5262 8.69767C11.2588 9.15246 12.0948 9.8708 13.0343 10.8527C13.6721 11.5142 14.1806 11.9793 14.5598 12.2481C14.9476 12.5168 15.37 12.6512 15.8268 12.6512C16.568 12.6512 17.1541 12.3307 17.585 11.6899C17.8328 11.3155 18.0065 10.8453 18.1061 10.2794C18.2412 9.51208 18.843 8.86822 19.6221 8.86822C20.3854 8.86822 21.018 9.48225 20.958 10.2431C20.8716 11.3375 20.6523 12.259 20.2999 13.0078C19.8173 14.0517 19.1795 14.8114 18.3866 15.2868C17.5936 15.7623 16.7576 16 15.8785 16C14.9994 16 14.1978 15.7726 13.4738 15.3178C12.7498 14.8527 11.9138 14.1292 10.9657 13.1473C10.3366 12.4858 9.82805 12.0207 9.44021 11.7519C9.05236 11.4832 8.63004 11.3488 8.17324 11.3488C7.47511 11.3488 6.89765 11.6434 6.44085 12.2326C6.11367 12.6551 5.91051 13.2842 5.83137 14.1199C5.77882 14.6747 5.33889 15.1318 4.78163 15.1318H3.98698Z' | ||
fill='white' | ||
/> | ||
</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,21 @@ | ||
import React, { FC } from 'react'; | ||
import { IIconProps } from '../type'; | ||
|
||
export const IconEstimated32: FC<IIconProps> = ({ color = 'currentColor' }) => ( | ||
<svg | ||
width='32' | ||
height='32' | ||
viewBox='0 0 32 32' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M0 2.66667C0 1.19391 1.19391 0 2.66667 0H29.3333C30.8061 0 32 1.19391 32 2.66667V29.3333C32 30.8061 30.8061 32 29.3333 32H2.66667C1.19391 32 0 30.8061 0 29.3333V2.66667Z' | ||
fill={color} | ||
/> | ||
<path | ||
d='M5.31598 20.1757C4.58743 20.1757 3.98753 19.5901 4.023 18.8624C4.10535 17.1731 4.40882 15.7711 4.93342 14.6563C5.58845 13.2644 6.43884 12.2515 7.48459 11.6176C8.54184 10.9836 9.65654 10.6667 10.8287 10.6667C12.0009 10.6667 13.0696 10.9767 14.0349 11.5969C15.0117 12.2033 16.1264 13.1611 17.379 14.4703C18.2294 15.3523 18.9074 15.9724 19.4131 16.3307C19.9302 16.6891 20.4933 16.8682 21.1023 16.8682C22.0906 16.8682 22.8721 16.441 23.4467 15.5866C23.7771 15.0873 24.0087 14.4604 24.1415 13.7059C24.3216 12.6828 25.124 11.8243 26.1628 11.8243C27.1805 11.8243 28.024 12.643 27.944 13.6575C27.8288 15.1166 27.5364 16.3454 27.0666 17.3437C26.423 18.7356 25.5726 19.7485 24.5154 20.3824C23.4582 21.0164 22.3435 21.3333 21.1713 21.3333C19.9991 21.3333 18.9304 21.0301 17.9651 20.4238C16.9998 19.8036 15.8851 18.8389 14.621 17.5297C13.7821 16.6477 13.1041 16.0276 12.5869 15.6693C12.0698 15.3109 11.5067 15.1318 10.8977 15.1318C9.96682 15.1318 9.19687 15.5245 8.5878 16.3101C8.15157 16.8735 7.88068 17.7123 7.77515 18.8265C7.7051 19.5662 7.11852 20.1757 6.3755 20.1757H5.31598Z' | ||
fill='white' | ||
/> | ||
</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
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
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
Oops, something went wrong.