import type { ReactNode } from 'react' import { cn } from '@langgenius/dify-ui/cn' type IntegrationPageHeaderProps = { align?: 'start' | 'center' description?: ReactNode descriptionClassName?: string frameClassName: string title?: ReactNode toolbar?: ReactNode } export function IntegrationPageHeader({ align = 'start', description, descriptionClassName, frameClassName, title, toolbar, }: IntegrationPageHeaderProps) { const showDescription = description !== undefined && description !== null const showToolbar = toolbar !== undefined && toolbar !== null return (