You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
competitions/components/Layout.tsx

19 lines
382 B

import React from 'react';
import { Menu } from './UI/Menu/Menu';
import styles from './../styles/Home.module.css';
type Props = {
children?: React.ReactNode;
}
export const Layout: React.FC<Props> = ({children}) => {
return(
<>
<Menu/>
<div className={styles.container}>
{children}
</div>
</>
)
}