()
| 1 | import React from 'react'; |
| 2 | |
| 3 | const Loading = () => ( |
| 4 | <div className="spinner d-flex align-items-center justify-content-center w-100 h-100" data-testid="loading"> |
| 5 | <svg |
| 6 | xmlns="http://www.w3.org/2000/svg" |
| 7 | width="120" |
| 8 | height="120" |
| 9 | className="uil-ring" |
| 10 | preserveAspectRatio="xMidYMid" |
| 11 | viewBox="0 0 100 100"> |
| 12 | <path fill="none" d="M0 0H100V100H0z" className="bk"></path> |
| 13 | <defs> |
| 14 | <filter id="uil-ring-shadow" width="300%" height="300%" x="-100%" y="-100%"> |
| 15 | <feOffset in="SourceGraphic" result="offOut"></feOffset> |
| 16 | <feGaussianBlur in="offOut" result="blurOut"></feGaussianBlur> |
| 17 | <feBlend in="SourceGraphic" in2="blurOut"></feBlend> |
| 18 | </filter> |
| 19 | </defs> |
| 20 | <path |
| 21 | fill="#337ab7" |
| 22 | d="M10 50s0 .5.1 1.4c0 .5.1 1 .2 1.7 0 .3.1.7.1 1.1.1.4.1.8.2 1.2.2.8.3 1.8.5 2.8.3 1 .6 2.1.9 3.2.3 1.1.9 2.3 1.4 3.5.5 1.2 1.2 2.4 1.8 3.7.3.6.8 1.2 1.2 1.9.4.6.8 1.3 1.3 1.9 1 1.2 1.9 2.6 3.1 3.7 2.2 2.5 5 4.7 7.9 6.7 3 2 6.5 3.4 10.1 4.6 3.6 1.1 7.5 1.5 11.2 1.6 4-.1 7.7-.6 11.3-1.6 3.6-1.2 7-2.6 10-4.6 3-2 5.8-4.2 7.9-6.7 1.2-1.2 2.1-2.5 3.1-3.7.5-.6.9-1.3 1.3-1.9.4-.6.8-1.3 1.2-1.9.6-1.3 1.3-2.5 1.8-3.7.5-1.2 1-2.4 1.4-3.5.3-1.1.6-2.2.9-3.2.2-1 .4-1.9.5-2.8.1-.4.1-.8.2-1.2 0-.4.1-.7.1-1.1.1-.7.1-1.2.2-1.7.1-.9.1-1.4.1-1.4V54.2c0 .4-.1.8-.1 1.2-.1.9-.2 1.8-.4 2.8-.2 1-.5 2.1-.7 3.3-.3 1.2-.8 2.4-1.2 3.7-.2.7-.5 1.3-.8 1.9-.3.7-.6 1.3-.9 2-.3.7-.7 1.3-1.1 2-.4.7-.7 1.4-1.2 2-1 1.3-1.9 2.7-3.1 4-2.2 2.7-5 5-8.1 7.1L70 85.7c-.8.5-1.7.9-2.6 1.3l-1.4.7-1.4.5c-.9.3-1.8.7-2.8 1C58 90.3 53.9 90.9 50 91l-3-.2c-1 0-2-.2-3-.3l-1.5-.2-.7-.1-.7-.2c-1-.3-1.9-.5-2.9-.7-.9-.3-1.9-.7-2.8-1l-1.4-.6-1.3-.6c-.9-.4-1.8-.8-2.6-1.3l-2.4-1.5c-3.1-2.1-5.9-4.5-8.1-7.1-1.2-1.2-2.1-2.7-3.1-4-.5-.6-.8-1.4-1.2-2-.4-.7-.8-1.3-1.1-2-.3-.7-.6-1.3-.9-2-.3-.7-.6-1.3-.8-1.9-.4-1.3-.9-2.5-1.2-3.7-.3-1.2-.5-2.3-.7-3.3-.2-1-.3-2-.4-2.8-.1-.4-.1-.8-.1-1.2v-1.1-1.7c-.1-1-.1-1.5-.1-1.5z" |
| 23 | filter="url(#uil-ring-shadow)"> |
| 24 | <animateTransform |
| 25 | attributeName="transform" |
| 26 | dur="1s" |
| 27 | from="0 50 50" |
| 28 | repeatCount="indefinite" |
| 29 | to="360 50 50" |
| 30 | type="rotate"></animateTransform> |
| 31 | </path> |
| 32 | </svg> |
| 33 | </div> |
| 34 | ); |
| 35 | |
| 36 | export default Loading; |
nothing calls this directly
no outgoing calls
no test coverage detected