import React from 'react'
import { Aside } from '../Aside'
import { HeaderHome } from '../Header'
import styles from './styles.module.css'

interface LayoutDashboardProps {
    children: React.ReactNode
    logo: string
}

export const LayoutDashboard: React.FC<LayoutDashboardProps> = ({
    children,
    logo = ''
}) => {
    return (
        <div className={styles.main}>
            <Aside logo={logo} />
            <HeaderHome
                showLogo={false}
                showButton={false}
                isLogin={true}
            />
            {children}
        </div>
    )
}
