components.layout.sidebar.Content.tsx Maven / Gradle / Ivy
import { Box, } from '@mui/material';
import { useLayoutContext } from 'hooks/layout';
import { DivProps } from 'types/react';
const SidebarLayoutContent = ({children}: DivProps): JSX.Element => {
const {
props: {contentBanner, transitionTime},
bannerProps,
bannerState
} = useLayoutContext()
return (
{contentBanner}
{children}
)
}
export default SidebarLayoutContent