2022-02-03 23:12:09 +00:00
|
|
|
import clsx from 'clsx'
|
|
|
|
|
|
|
|
export function LoadingIndicator(props: { className?: string }) {
|
|
|
|
const { className } = props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className={clsx('flex justify-center items-center', className)}>
|
|
|
|
<div
|
2022-02-04 00:10:19 +00:00
|
|
|
className="spinner-border animate-spin inline-block w-8 h-8 border-4 border-solid border-r-transparent rounded-full border-indigo-500"
|
2022-02-03 23:12:09 +00:00
|
|
|
role="status"
|
2022-02-04 00:10:19 +00:00
|
|
|
/>
|
2022-02-03 23:12:09 +00:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|