mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
18 lines
400 B
TypeScript
18 lines
400 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="overflow-x-auto">
|
||
|
<div className="w-screen h-screen min-w-[300px]">
|
||
|
<GA gaType={GaType.webapp} />
|
||
|
{children}
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default Layout
|