import React from 'react';
import Sidebar from './Sidebar';
import Topbar from './Topbar';

const AppLayout = ({ children }) => {
    return (
        <div className="app-layout">
            <Sidebar />
            <div className="app-layout-main">
                <Topbar />
                <main className="app-layout-content">
                    {children}
                </main>
            </div>
        </div>
    );
};

export default AppLayout;
