import { cn } from '@/lib/utils'; import React from 'react'; import { AppContentHeader } from './AppContentHeader'; import { AppContentPage } from './AppContentPage'; /** * @param header - Header content at the top of the page * @param floating - Applies floating styles (default: true) * @param scrollable - Makes content scrollable (default: true) * @param className - Additional CSS classes * @param children - Page content * @internal */ export const AppPageLayout: React.FC< React.PropsWithChildren<{ header?: React.ReactNode; scrollable?: boolean; className?: string; headerVariant?: 'default' | 'list'; }> > = ({ children, header, scrollable = true, className = '', headerVariant = 'default' }) => { return (
{header && {header}} {children}
); };