Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
355 B
Raw Blame
export type ToastTone = 'info' | 'success' | 'error' | 'warning'

export type ToastOptions = {
  durationMs?: number
  tone?: ToastTone
}

export type ToastRecord = {
  id: string
  message: string
  tone: ToastTone
}

export type ToastContextValue = {
  dismissToast: (id: string) => void
  showToast: (message: string, options?: ToastOptions) => void
}