Paul W.
e3c70632e2
Remove custom html from markdown, clean-up UI (again) Signed-off-by: Paul W. <lambdapaul@protonmail.com>
21 lines
412 B
TypeScript
21 lines
412 B
TypeScript
import Title from './title';
|
|
import Container, { ChildrenType } from './container';
|
|
|
|
type LayoutProps = {
|
|
children?: ChildrenType,
|
|
removeContainer?: boolean,
|
|
};
|
|
|
|
function Layout(props: LayoutProps) {
|
|
return (
|
|
<>
|
|
<Title />
|
|
<Container ignore={props.removeContainer}>
|
|
{props.children}
|
|
</Container>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default Layout;
|