[ABANDONED] React/Redux front end for the Flexor social network.
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

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. import React, { FC } from 'react'
  2. import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
  3. import { faCircleNotch } from '@fortawesome/free-solid-svg-icons'
  4. import { useTheme } from '../hooks'
  5. const Spinner: FC = () => {
  6. const theme = useTheme()
  7. return (
  8. <div className="spinner" style={{ color: theme.primary }}>
  9. <FontAwesomeIcon icon={faCircleNotch} spin size="lg" />
  10. </div>
  11. )
  12. }
  13. export default Spinner