Hiyve Components - v1.0.0
    Preparing search index...
    • Hook to check if mood analysis is ready.

      Returns { enabled: boolean; error: Error | null; loading: boolean; ready: boolean }

      Object with enabled, ready, loading, and error states

      Convenience hook that returns loading/ready/error status. Useful for showing loading states or error messages.

      function MoodIndicator() {
      const { ready, loading, error } = useMoodAnalysisStatus();

      if (loading) return <Spinner />;
      if (error) return <ErrorMessage error={error} />;
      if (!ready) return null;

      return <MoodDisplay />;
      }