mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-23 13:34:19 +00:00
18 lines
426 B
JavaScript
18 lines
426 B
JavaScript
import React from "react"
|
|
import { faSpinner } from "@fortawesome/free-solid-svg-icons"
|
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
|
|
|
|
/**
|
|
* A div with a spinning dots icon and a "Loading..." text.
|
|
*
|
|
* @returns {JSX.Element}
|
|
* @constructor
|
|
*/
|
|
export default function Loading() {
|
|
return (
|
|
<div>
|
|
<FontAwesomeIcon icon={faSpinner} pulse={true}/> Loading...
|
|
</div>
|
|
)
|
|
}
|