import { PropsWithChildren } from 'react' import Icon from '../../../shared/components/icon' import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher' import MaterialIcon from '@/shared/components/material-icon' type Props = { onClick?: () => void icon?: { type: string fw?: boolean } svgIcon?: React.ReactElement | null disabled?: boolean disabledAccesibilityText?: string type?: 'button' | 'link' href?: string } function LeftMenuButtonIcon({ svgIcon, icon, }: { svgIcon?: React.ReactElement | null icon?: { type: string; fw?: boolean } }) { if (svgIcon) { return