1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-04-19 09:01:18 +00:00
next-ory/authentication/src/app/flow/layout.tsx
2024-05-03 05:50:03 +02:00

13 lines
No EOL
466 B
TypeScript

import { ThemeToggle } from '@/components/themeToggle';
import React from 'react';
export default function FlowLayout({ children }: Readonly<{ children: React.ReactNode }>) {
return (
<div className="flex flex-col min-h-screen items-center justify-center relative space-y-4">
<div className="absolute flex items-center space-x-4 top-4 right-4">
<ThemeToggle/>
</div>
{children}
</div>
);
}