summaryrefslogtreecommitdiff
path: root/src/core/components/layouts/AppLayout.jsx
blob: d74d61e31d6b6abae27d12afca0995cecdeb7568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import AppBar from '../elements/Appbar/Appbar'
import BasicFooter from '../elements/Footer/BasicFooter'
import AnimationLayout from './AnimationLayout'

const AppLayout = ({ children, title, withFooter = true }) => {
  return (
    <>
      <AnimationLayout>
        <AppBar title={title} />
        {children}
      </AnimationLayout>
      {withFooter && <BasicFooter />}
    </>
  )
}

export default AppLayout