@hanzo/ui

Failure

import { Failure } from '@hanzo/ui/chat'

No examples yet.

Types

export interface FailureProps extends Omit<ComponentProps<typeof YStack>, 'children'> {
  /** What went wrong, in the surface's own words. */
  children?: ReactNode
  /** Offer to run the turn again. Omit and no control renders. */
  onRetry?: () => void
  /** The retry control's words; absent, "Try again" in the reader's language. */
  retryLabel?: string
}

Exports

Failuretype FailureProps