You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
454 B
15 lines
454 B
import React, { FC } from 'react'
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
|
import { faCircleNotch } from '@fortawesome/free-solid-svg-icons'
|
|
import { useTheme } from '../hooks'
|
|
|
|
const Spinner: FC = () => {
|
|
const theme = useTheme()
|
|
return (
|
|
<div className="spinner" style={{ color: theme.primary }}>
|
|
<FontAwesomeIcon icon={faCircleNotch} spin size="lg" />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Spinner
|