Open
Description
When using custom data for Person Components, you can't add and use custom images.
PersonAvatar dataSource
type is AvatarData
PersonCard dataSource
type is CardData
export type AvatarData = Pick<PersonInfo, 'name' | 'accountType'>;
export type CardData = PersonDetails;
export type PersonInfo = {
azureId: string;
name?: string;
jobTitle?: string;
department?: string;
mail?: string;
mobilePhone?: string;
accountType?: PersonAccountType;
officeLocation?: string;
managerAzureUniqueId?: string;
};
export type PersonDetails = PersonInfo & {
positions?: Position[];
manager?: Manager;
};
PersonDetails
and PersonInfo
don't have pictureSrc
Activity