diff --git a/src/MainMenu/MainMenu.tsx b/src/MainMenu/MainMenu.tsx index 936438869..e8a772d05 100644 --- a/src/MainMenu/MainMenu.tsx +++ b/src/MainMenu/MainMenu.tsx @@ -1,14 +1,25 @@ import List from '@mui/material/List'; -import React, { FC } from 'react'; +import React from 'react'; export interface MainMenuProps { id?: string; children?: React.ReactElement | React.ReactElement[]; + /** whether container is full height + * this allows possible footer elements */ + fullHeight?: boolean; } -export const MainMenu: FC = ({ id, children }) => { - return {children}; +export const MainMenu = ({ + id, + children, + fullHeight, +}: MainMenuProps): JSX.Element => { + return ( + + {children} + + ); }; export default MainMenu;