gitscope
← marzneshin / v0.5.4 / dashboard/src/components/page/index.tsx
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/components/page/index.tsx · TypeScript
Blame Raw
 1import { FC, PropsWithChildren } from 'react'
 2import { ScrollArea } from '@marzneshin/components'
 3
 4interface PageProps extends PropsWithChildren { }
 5
 6export const Page: FC<PageProps> = ({ children }) => {
 7    return (
 8        <ScrollArea className="w-full h-full overflow-y-auto">
 9            <div className="flex flex-col justify-center items-center h-full w-full">
10                {children}
11            </div>
12        </ScrollArea>
13    );
14}