@hanzo/ui

EmptyPrompt

import { EmptyPrompt, NEXT } from '@hanzo/ui/chat'

The empty pane's question, aligned to the composer column

The mark is the surface's own.

What’s up next?
export function Default() {
  return <EmptyPrompt mark={<BrandMark size={20} wordmark={false} animated={false} />} column={560} />
}

Types

export interface EmptyPromptProps extends Col {
  /** The question. */
  title?: ReactNode
  /** Drawn before the question — a surface's own mark, ~20px. */
  mark?: ReactNode
  /** The column the heading aligns to, px. Match the composer's. */
  column?: number
  /** The heading's outline level; a pane with a page title above it passes 2. */
  level?: 1 | 2 | 3
}

Exports

EmptyPromptNEXTtype EmptyPromptProps