| 1 |
import { memo } from '@wordpress/element'; |
| 2 |
import { __ } from '@wordpress/i18n'; |
| 3 |
|
| 4 |
const Spinner = (props) => { |
| 5 |
const { className, ...otherProps } = props; |
| 6 |
|
| 7 |
return ( |
| 8 |
<svg |
| 9 |
className={className} |
| 10 |
width="20" |
| 11 |
height="20" |
| 12 |
viewBox="0 0 20 20" |
| 13 |
fill="none" |
| 14 |
xmlns="http://www.w3.org/2000/svg" |
| 15 |
{...otherProps} |
| 16 |
> |
| 17 |
<title>{__('Loading Spinner', 'extendify-local')}</title> |
| 18 |
<circle cx="10" cy="10" r="10" fill="black" fillOpacity="0.4" /> |
| 19 |
<ellipse |
| 20 |
cx="15.5552" |
| 21 |
cy="6.66656" |
| 22 |
rx="2.22222" |
| 23 |
ry="2.22222" |
| 24 |
fill="white" |
| 25 |
/> |
| 26 |
</svg> |
| 27 |
); |
| 28 |
}; |
| 29 |
|
| 30 |
export default memo(Spinner); |
| 31 |
|