import styled from '@emotion/styled'; const Container = styled.div` position: absolute; align-items: center; background-color: rgb(255 255 255 / 25%); display: flex; flex-direction: column; height: 100%; justify-content: center; user-select: none; width: 100%; svg { animation-direction: inherit; animation-duration: 1s; animation-fill-mode: forwards; animation-iteration-count: infinite; animation-name: spin-animation; animation-timing-function: linear; height: 100px; width: 100px; } @keyframes spin-animation { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } `; export default function DefaultSpinnerComponent({ loadingText = 'Loading ...', }) { return (

{loadingText}

); }