I use a two line ReactElement as name in the AvatarGroup. It appears correctly when I hover. But I get a TypeScript error:
Type '{ key: string | undefined; name: string | Element; href: string; src: string | undefined; }[]' is not assignable to type 'AvatarProps[]'.
Type '{ key: string | undefined; name: string | React.JSX.Element; href: string; src: string | undefined; }' is not assignable to type 'AvatarProps'.
Type '{ key: string | undefined; name: string | React.JSX.Element; href: string; src: string | undefined; }' is not assignable to type 'AvatarPropTypes'.
Types of property 'name' are incompatible.
Type 'string | Element' is not assignable to type 'string | undefined'.
Type 'Element' is not assignable to type 'string'.ts(2322)
Is it possible to add this type? I use version 9.5.4 of the @atlaskit/avatar-group module.