({style = {}}: {style?: React.CSSProperties})
| 44 | }; |
| 45 | |
| 46 | export const LoadingSpinner = ({style = {}}: {style?: React.CSSProperties}): JSX.Element => { |
| 47 | return ( |
| 48 | <ProgressBar aria-label="loading" isIndeterminate style={style} className={styles['spinner']}> |
| 49 | <svg height="100%" width="100%" viewBox="0 0 24 24"> |
| 50 | <path |
| 51 | fill="currentColor" |
| 52 | d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" |
| 53 | opacity=".25" |
| 54 | /> |
| 55 | <path |
| 56 | fill="currentColor" |
| 57 | d="M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"> |
| 58 | <animateTransform |
| 59 | attributeName="transform" |
| 60 | type="rotate" |
| 61 | dur="0.75s" |
| 62 | values="0 12 12;360 12 12" |
| 63 | repeatCount="indefinite" |
| 64 | /> |
| 65 | </path> |
| 66 | </svg> |
| 67 | </ProgressBar> |
| 68 | ); |
| 69 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected