import * as React from 'react'; import Avatar from '@mui/material/Avatar'; import type { AvatarProps } from '@mui/material/Avatar'; type AppIconProps = { name: string; url: string; color?: string; }; const inlineImgStyle: React.CSSProperties = { objectFit: 'contain', }; export default function AppIcon(props: AppIconProps & AvatarProps) { const { name, url, color, sx = {}, ...restProps } = props; return ( ); };