Working example for Graph Toolkit using SharePoint spfx, React and Get component with template
问题 I'm trying to make use of the Microsoft Graph Toolkit inside my SharePoint spfx web part solution, and more specifically the React version (@microsoft/mgt-react). I've managed importing the packages, and also render the control correctly. However I am now trying to render controls based on the result from a control. Something like this: const MyPerson = (props: MgtTemplateProps) => { const { person } = props.dataContext; return <Person userId={person.userPrincipalName}></Person>; } And here