import { memo, useMemo } from 'react'; import { default as AppbarBase } from './AppbarBase'; import type { AppbarProps } from './types'; import { appbarCenterAlignedStyles } from './utils'; const AppbarCenterAligned = ({ style, ...rest }: AppbarProps) => { const componentStyles = useMemo(() => [appbarCenterAlignedStyles.root, style], [style]); return ; }; export default memo(AppbarCenterAligned);