import { cn } from '@/lib/utils'

import type { FC, ReactNode } from 'react'

type Props = {
    children:   ReactNode
    className?: string }


export default (({ children, className }: Props) => (
    <main className={cn ('flex-1 overflow-y-auto p-4', className)}>
      {children}
    </main>)) satisfies FC<Props>
