import { BadgeOwnProps } from '@mui/base/Badge/Badge.types'; import { ThumbnailCircularProps, ThumbnailSquareProps } from '../Thumbnail/Thumbnail.type'; import { UserAvatarProps } from '../UserAvatar/UserAvatar.types'; interface CommonProps { ariaLabel?: string; children: BadgeOwnProps['children']; } interface HasThumbnail extends CommonProps { thumbnail: ThumbnailCircularProps | ThumbnailSquareProps; } interface HasUserAvatar extends CommonProps { userAvatar: UserAvatarProps; } export type ThumbnailWrapperProps = HasThumbnail | HasUserAvatar; export {};