upgade package
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import clsx from 'clsx'
|
||||
import {useLayout} from '../../core'
|
||||
import {Footer} from './Footer'
|
||||
|
||||
const FooterWrapper = () => {
|
||||
const {config} = useLayout()
|
||||
if (!config.app?.footer?.display) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='app-footer' id='kt_app_footer'>
|
||||
{config.app.footer.containerClass ? (
|
||||
<div
|
||||
className={clsx(
|
||||
'app-container',
|
||||
config.app.footer.container === 'fixed' ? 'container-xxl' : 'container-fluid',
|
||||
config.app.footer.containerClass
|
||||
)}
|
||||
>
|
||||
<Footer />
|
||||
</div>
|
||||
) : (
|
||||
<Footer />
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export {FooterWrapper}
|
||||
Reference in New Issue
Block a user