mirror of
https://github.com/cssgunc/compass.git
synced 2025-04-16 09:00:16 -04:00
15 lines
330 B
TypeScript
15 lines
330 B
TypeScript
import React, { ReactNode } from 'react';
|
|
|
|
interface PageInterface {
|
|
children: ReactNode;
|
|
}
|
|
|
|
const Page: React.FC<PageInterface> = ({ children }) => {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-100">
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Page; |