mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
15 lines
304 B
JavaScript
15 lines
304 B
JavaScript
|
import { useTranslation } from 'react-i18next'
|
||
|
import Icon from './icon'
|
||
|
|
||
|
function LoadingSpinner() {
|
||
|
const { t } = useTranslation()
|
||
|
return (
|
||
|
<div className="loading">
|
||
|
<Icon type="fw" modifier="refresh" spin />
|
||
|
{` ${t('loading')}…`}
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default LoadingSpinner
|