mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
17 lines
365 B
TypeScript
17 lines
365 B
TypeScript
import React from 'react'
|
|
import type { FC } from 'react'
|
|
import GA, { GaType } from '@/app/components/base/ga'
|
|
|
|
const Layout: FC<{
|
|
children: React.ReactNode
|
|
}> = ({ children }) => {
|
|
return (
|
|
<div className="min-w-[300px] h-full pb-[env(safe-area-inset-bottom)]">
|
|
<GA gaType={GaType.webapp} />
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Layout
|