import { ReactNode } from 'react';
import { Flexbox, type FlexboxProps } from 'react-layout-kit';
interface MobileContentLayoutProps extends FlexboxProps {
header?: ReactNode;
withNav?: boolean;
}
const MobileContentLayout = ({
children,
withNav,
style,
header,
id = 'lobe-mobile-scroll-container',
...rest
}: MobileContentLayoutProps) => {
const content = (
{children}
);
if (!header) return content;
return (
{header}
{children}
);
};
MobileContentLayout.displayName = 'MobileContentLayout';
export default MobileContentLayout;