import { AppBar, Box, Container, useScrollTrigger, useTheme } from '@mui/material'; type IHorizontalBarProps = React.PropsWithChildren; function HorizontalBar(props: IHorizontalBarProps) { const theme = useTheme(); const trigger = useScrollTrigger({ disableHysteresis: true, threshold: 0 }); //@ts-ignore theme.shadows[4] = theme.customShadows.z1; return ( {props.children} ); } export { HorizontalBar };