layout.tsx 365 B

12345678910111213141516
  1. import React from 'react'
  2. import type { FC } from 'react'
  3. import GA, { GaType } from '@/app/components/base/ga'
  4. const Layout: FC<{
  5. children: React.ReactNode
  6. }> = ({ children }) => {
  7. return (
  8. <div className="min-w-[300px] h-full pb-[env(safe-area-inset-bottom)]">
  9. <GA gaType={GaType.webapp} />
  10. {children}
  11. </div>
  12. )
  13. }
  14. export default Layout