import { Avatar, IconButton, IconButtonProps, Typography, useTheme } from "@mui/material"; import { deepmerge } from "@mui/utils"; import { ForwardRefExoticComponent, RefAttributes } from "react"; import { LinkProps } from "react-router-dom"; type Props = IconButtonProps & { component?: ForwardRefExoticComponent>; to?: string; }; export function AvatarButton(props: Props) { const theme = useTheme(); return ( {props.children ?? "AA"} ); }