mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
16 lines
No EOL
349 B
TypeScript
16 lines
No EOL
349 B
TypeScript
import { faAsterisk } from "@fortawesome/free-solid-svg-icons";
|
|
import { FestaIcon } from "./extensions/FestaIcon";
|
|
|
|
type LoadingProps = {
|
|
text: string
|
|
}
|
|
|
|
export function Loading(props: LoadingProps) {
|
|
return (
|
|
<span>
|
|
<FestaIcon icon={faAsterisk} spin/>
|
|
|
|
{props.text}
|
|
</span>
|
|
)
|
|
} |