layout.tsx 400 B

123456789101112131415161718
  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="overflow-x-auto">
  9. <div className="w-screen h-screen min-w-[300px]">
  10. <GA gaType={GaType.webapp} />
  11. {children}
  12. </div>
  13. </div>
  14. )
  15. }
  16. export default Layout