mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-03 23:55:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			310 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			310 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { Center, Flex } from "@mantine/core";
 | 
						|
import { ReactNode } from "react";
 | 
						|
 | 
						|
export const Layout = ({ children }: { children: ReactNode }) => {
 | 
						|
  return (
 | 
						|
    <Center style={{ minHeight: "100vh" }}>
 | 
						|
      <Flex direction="column" flex="1" maw={350}>
 | 
						|
        {children}
 | 
						|
      </Flex>
 | 
						|
    </Center>
 | 
						|
  );
 | 
						|
};
 |