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.

525 B
Raw Blame
'use client'

import type { ReactNode } from 'react'

type IntegrationSectionLayoutProps = {
  bodyClassName?: string
  children: ReactNode
  label?: string
}

export function IntegrationSectionLayout({
  bodyClassName,
  children,
  label,
}: IntegrationSectionLayoutProps) {
  return (
    <div
      aria-label={label}
      className="min-h-0 flex-1 overflow-y-auto overscroll-contain max-md:min-h-48"
      role={label ? 'region' : undefined}
    >
      <div className={bodyClassName}>{children}</div>
    </div>
  )
}