mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 04:35:40 +00:00
17 lines
437 B
TypeScript
17 lines
437 B
TypeScript
import { Center, Flex } from "@mantine/core";
|
|
import { ReactNode } from "react";
|
|
import { LanguageSelector } from "../language-selector/language-selector";
|
|
|
|
export const Layout = ({ children }: { children: ReactNode }) => {
|
|
return (
|
|
<>
|
|
<LanguageSelector />
|
|
<Center style={{ minHeight: "100vh" }}>
|
|
<Flex direction="column" flex="1" maw={340}>
|
|
{children}
|
|
</Flex>
|
|
</Center>
|
|
</>
|
|
);
|
|
};
|