Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

527 B
Raw Blame
'use client'

import type { ToasterProps, ToastManager } from '@langgenius/dify-ui/toast'
import { Toaster } from '@langgenius/dify-ui/toast'
import { manager } from '.'

export type AppToasterProps = {
  manager?: ToastManager
  timeout?: number
  limit?: number
  offset?: ToasterProps['offset']
}

export function AppToaster({
  manager: toastManager = manager,
  timeout = 5000,
  limit = 3,
  offset,
}: AppToasterProps) {
  return <Toaster toastManager={toastManager} timeout={timeout} limit={limit} offset={offset} />
}