mocksaml/components/Layout.tsx
2022-02-18 14:26:42 +05:30

16 lines
317 B
TypeScript

import type { ReactNode } from "react";
type LayoutProps = {
children: ReactNode;
};
export default function Layout({ children }: LayoutProps) {
return (
<>
<header className="py-5 px-20">
<h1 className="text-2xl">Mock SAML IdP</h1>
</header>
<main>{children}</main>
</>
);
}