| 1 |
import { memo } from '@wordpress/element'; |
| 2 |
import { __ } from '@wordpress/i18n'; |
| 3 |
|
| 4 |
const PreviewIcon = (props) => { |
| 5 |
const { className, ...otherProps } = props; |
| 6 |
|
| 7 |
return ( |
| 8 |
<svg |
| 9 |
className={className} |
| 10 |
viewBox="0 0 24 24" |
| 11 |
fill="none" |
| 12 |
xmlns="http://www.w3.org/2000/svg" |
| 13 |
{...otherProps} |
| 14 |
> |
| 15 |
<title>{__('Preview Icon', 'extendify-local')}</title> |
| 16 |
<path |
| 17 |
d="M12 6.5C15.79 6.5 19.17 8.63 20.82 12C19.17 15.37 15.8 17.5 12 17.5C8.2 17.5 4.83 15.37 3.18 12C4.83 8.63 8.21 6.5 12 6.5ZM12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 9.5C13.38 9.5 14.5 10.62 14.5 12C14.5 13.38 13.38 14.5 12 14.5C10.62 14.5 9.5 13.38 9.5 12C9.5 10.62 10.62 9.5 12 9.5ZM12 7.5C9.52 7.5 7.5 9.52 7.5 12C7.5 14.48 9.52 16.5 12 16.5C14.48 16.5 16.5 14.48 16.5 12C16.5 9.52 14.48 7.5 12 7.5Z" |
| 18 |
fill="currentColor" |
| 19 |
/> |
| 20 |
</svg> |
| 21 |
); |
| 22 |
}; |
| 23 |
|
| 24 |
export default memo(PreviewIcon); |
| 25 |
|