react-garden
Version:
React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.
33 lines (28 loc) • 735 B
JavaScript
// ** MUI Imports
import Box from '@mui/material/Box'
// ** Config Import
import themeConfig from '~/configs/themeConfig'
// ** Utils
// import { hexToRGBA } from '~/@core/utils/hex-to-rgba'
// ** Menu Components
import HorizontalNavItems from './HorizontalNavItems'
const Navigation = props => {
return (
<Box
className='menu-content'
sx={{
width: '100%',
display: 'flex',
flexWrap: 'wrap',
alignItems: 'center',
'& > *': {
'&:not(:last-child)': { mr: 2 },
...(themeConfig.menuTextTruncate && { maxWidth: 220 })
}
}}
>
<HorizontalNavItems {...props} />
</Box>
)
}
export default Navigation