Closed DJoshi23 closed 1 month ago
@DJoshi23 mgt is currently at version 4+ https://github.com/microsoftgraph/microsoft-graph-toolkit/releases/tag/v4.2.5. Please update your app and use the current version. Version 2 is no longer maintained, and any issues raised with it shall not be fixed.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Hi Team,
i am using MGT Person Component in my React based SPFx Solution. i want to provide the Color to Title of person
Below code not working as expected to change the color
CSS
.DisableDarkThemeLayout2 { --person-line1-text-color: red; }
Version: "@microsoft/mgt": "2.2.1", "@microsoft/mgt-react": "2.2.1",
Code Snippet:
import { avatarType, Person, PersonCardInteraction, ViewType, } from "@microsoft/mgt-react";
<Person personQuery={prop.e.displayName} personImage={ "/_layouts/15/userphoto.aspx?size=M&accountname=" + prop.e.mail } fallbackDetails={{ displayName: prop.e.displayName }} view={ViewType.oneline} personCardInteraction={PersonCardInteraction.click} className={"DisableDarkThemeLayout2"}