mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-13 06:39:03 +00:00
23 lines
448 B
TypeScript
23 lines
448 B
TypeScript
// Libraries
|
|
import { Container } from '@chakra-ui/react';
|
|
import { FC } from 'react';
|
|
|
|
// Components
|
|
import { Header } from '../UI';
|
|
import { Footer } from './Footer';
|
|
|
|
interface Props {
|
|
children?: React.ReactNode;
|
|
}
|
|
|
|
export const Layout: FC<Props> = ({ children }) => {
|
|
return (
|
|
<Container maxW={{ base: 'full', md: 'container.2xl' }} my={{ base: 4, md: 7 }}>
|
|
<Header />
|
|
|
|
{children}
|
|
|
|
<Footer />
|
|
</Container>
|
|
);
|
|
};
|