add search icon

This commit is contained in:
Hossein Mehrabi
2022-10-10 02:40:18 +03:30
parent d043abd829
commit 2d1c5a30c3
2 changed files with 17 additions and 0 deletions
+7
View File
@@ -15,6 +15,7 @@ import LinkedinSvg from '@site/static/icons/linkedin.svg'
import DiscourseSvg from '@site/static/icons/discourse.svg'
import TelegramSvg from '@site/static/icons/telegram.svg'
import StatusSvg from '@site/static/icons/status.svg'
import SearchSvg from '@site/static/icons/search.svg'
type TIconProps = {
size?: 's' | 'm' | 'l'
@@ -113,3 +114,9 @@ export const IconFolderFilled = (props: TIconProps): JSX.Element => (
<FolderSvg />
</Icon>
)
export const IconSearch = (props: TIconProps): JSX.Element => (
<Icon {...props}>
<SearchSvg />
</Icon>
)
+10
View File
@@ -0,0 +1,10 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_887_4135)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.78984 6.75005C1.78984 4.00049 4.0188 1.77153 6.76836 1.77153C9.51791 1.77153 11.7469 4.00049 11.7469 6.75005C11.7469 9.4996 9.51791 11.7286 6.76836 11.7286C4.0188 11.7286 1.78984 9.4996 1.78984 6.75005ZM6.76836 0.571533C3.35606 0.571533 0.589844 3.33775 0.589844 6.75005C0.589844 10.1623 3.35606 12.9286 6.76836 12.9286C8.20891 12.9286 9.53432 12.4356 10.5851 11.6091L15.7307 16.7547C16.1212 17.1452 16.7544 17.1452 17.1449 16.7547C17.5354 16.3641 17.5354 15.731 17.1449 15.3405L11.9385 10.1341C12.5761 9.16206 12.9469 7.99935 12.9469 6.75005C12.9469 3.33775 10.1807 0.571533 6.76836 0.571533Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_887_4135">
<rect width="18" height="18" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 909 B