import Spinner, { SpinnerProps } from './Spinner'; // Adjust the path to the actual location of the Spinner component export interface LoadingProps extends SpinnerProps { message?: string; } export default function Loading({ size, color, message = 'Loading...', }: LoadingProps) { return (
{message && (

{message}

)}
); }