-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: lena.rashkovan <[email protected]>
- Loading branch information
1 parent
46fe18c
commit 4cce650
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,27 @@ | ||
// DO NOT EDIT. This file was generated by running `npm run generate`.; | ||
import * as React from 'react'; | ||
import { get } from '../../utils/themeGet'; | ||
import { IconProps } from '../IconProps'; | ||
type Props = IconProps; | ||
const SearchIcon: React.FC<Props> = ({ size = 'medium', color = 'inherit', ...rest }) => { | ||
const props = { ...rest, color }; | ||
const sizePx = Number.isFinite(size as number) | ||
? size | ||
: get(`iconSizes.${size}`)(props) || get('iconSizes.medium')(props); | ||
return ( | ||
<svg | ||
{...props} | ||
width={sizePx} | ||
height={sizePx} | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M16.333 17.5l-5.25-5.25a5.08 5.08 0 01-3.167 1.083c-1.513 0-2.794-.524-3.843-1.573C3.024 10.712 2.5 9.43 2.5 7.917c0-1.514.524-2.795 1.573-3.844S6.403 2.5 7.917 2.5c1.514 0 2.795.524 3.843 1.573 1.049 1.049 1.573 2.33 1.573 3.844a5.08 5.08 0 01-1.083 3.166l5.25 5.25-1.167 1.167zm-8.416-5.833c1.041 0 1.927-.365 2.656-1.094.73-.73 1.094-1.615 1.094-2.656 0-1.042-.365-1.927-1.094-2.657-.73-.729-1.615-1.093-2.656-1.093-1.042 0-1.927.364-2.657 1.093-.729.73-1.093 1.615-1.093 2.657 0 1.041.364 1.927 1.093 2.656.73.73 1.615 1.094 2.657 1.094z" | ||
fill="currentColor" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
export default SearchIcon; |
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