| 1 |
import { memo } from '@wordpress/element'; |
| 2 |
import { __ } from '@wordpress/i18n'; |
| 3 |
|
| 4 |
const SearchIcon = (props) => { |
| 5 |
const { className, ...otherProps } = props; |
| 6 |
|
| 7 |
return ( |
| 8 |
<svg |
| 9 |
className={className} |
| 10 |
width="24" |
| 11 |
height="24" |
| 12 |
viewBox="0 0 24 24" |
| 13 |
fill="none" |
| 14 |
xmlns="http://www.w3.org/2000/svg" |
| 15 |
{...otherProps} |
| 16 |
> |
| 17 |
<title>{__('Search Icon', 'extendify-local')}</title> |
| 18 |
<path d="M8 18.5504L12 14.8899" stroke="#1E1E1E" strokeWidth="1.5" /> |
| 19 |
<path |
| 20 |
d="M20.25 11.7523C20.25 14.547 18.092 16.7546 15.5 16.7546C12.908 16.7546 10.75 14.547 10.75 11.7523C10.75 8.95754 12.908 6.75 15.5 6.75C18.092 6.75 20.25 8.95754 20.25 11.7523Z" |
| 21 |
stroke="#1E1E1E" |
| 22 |
strokeWidth="1.5" |
| 23 |
/> |
| 24 |
</svg> |
| 25 |
); |
| 26 |
}; |
| 27 |
|
| 28 |
export default memo(SearchIcon); |
| 29 |
|