import type { FC } from "hono/jsx";

interface LoadingStateProps {
  message?: string;
}

export const LoadingState: FC<LoadingStateProps> = ({ message = "Loading\u2026" }) => (
  <div class="loading-state htmx-indicator">
    <p>{message}</p>
  </div>
);
