import { useSx } from '@/hooks'; import { Button, ButtonProps } from '@mui/material'; import { ForwardedRef, forwardRef } from 'react'; type IHeaderButtonProps = Omit; const HeaderButton = forwardRef(function HeaderButton( props: IHeaderButtonProps, ref: ForwardedRef | null ) { const sx = useSx(props, { color: 'text.primary' }, { defaults: true }); return