1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 16:29:44 +02:00
portainer/app/react/components/ViewLoading/ViewLoading.tsx
James Player 4b5b682d0c feat(k8s): CRD in applications list and details 2.31.1 - [R8S-357] (#806)
Co-authored-by: stevensbkang <skan070@gmail.com>
2025-06-18 09:06:58 +12:00

21 lines
519 B
TypeScript

import clsx from 'clsx';
import styles from './ViewLoading.module.css';
interface Props {
message?: string;
}
export function ViewLoading({ message }: Props) {
return (
<div className={clsx('row', styles.root)}>
<div className="sk-fold">
<div className="sk-fold-cube" />
<div className="sk-fold-cube" />
<div className="sk-fold-cube" />
<div className="sk-fold-cube" />
</div>
{message && <span className={styles.message}>{message}</span>}
</div>
);
}