dify/web/app/(shareLayout)/layout.tsx

17 lines
365 B
TypeScript
Raw Normal View History

2023-08-24 17:57:25 +08:00
import React from 'react'
2023-05-15 08:51:32 +08:00
import type { FC } from 'react'
import GA, { GaType } from '@/app/components/base/ga'
const Layout: FC<{
children: React.ReactNode
}> = ({ children }) => {
return (
2023-11-28 20:05:19 +08:00
<div className="min-w-[300px] h-full pb-[env(safe-area-inset-bottom)]">
<GA gaType={GaType.webapp} />
{children}
2023-05-15 08:51:32 +08:00
</div>
)
}
2023-08-24 17:57:25 +08:00
export default Layout