1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-23 07:04:22 +00:00
festa/components/Loading.tsx

16 lines
No EOL
338 B
TypeScript

import { faAsterisk } from "@fortawesome/free-solid-svg-icons";
import { FestaIcon } from "./FestaIcon";
type LoadingProps = {
text: string
}
export function Loading(props: LoadingProps) {
return (
<span>
<FestaIcon icon={faAsterisk} spin/>
&nbsp;
{props.text}
</span>
)
}