Skip to main content

Body

Flex body container. Usually placed inside a Layout element.

Props

  • hasSidebar = {boolean | default: false}
  • children = {React.ReactNode}
    • React children prop

Example with code

import Layout from '@components/Layout';
import Body from '@components/Body';

const MyComponent = () => {
return (
<Layout>
<Body hasSidebar>
Your content
</Body>
</Layout>
);
};