Spaces:
Sleeping
Sleeping
File size: 404 Bytes
1643ce8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import type { ReactNode } from "react";
type PageShellProps = {
children: ReactNode;
className?: string;
};
export function PageShell({ children, className = "" }: PageShellProps) {
return (
<main
className={[
"max-w-4xl mx-auto my-8 bg-white shadow-sm ring-1 ring-gray-200 rounded-xl p-6 md:p-8",
className,
].join(" ")}
>
{children}
</main>
);
}
|