Earlier version uses the old version of Microsoft Graph Toolkit and SharePoint Framework.Now it's the time to upgrade and support the new feature in both.
Learn how to use Microsoft Graph Toolkit Get's component in a SharePoint Framework web par. And also learn how to declare the template for the Get component.
Today I have started a series to show the power of Microsoft Graph API along with SharePoint Framework by using Microsoft Graph Toolkit....
SharePoint Framework webpart for Microsoft Graph Toolkit Editor is upgraded to support latest SPFx version and MGToolkit version. This webpart helps to access any supported Graph API in a simple html snippet.
The steps I have followed to successfully migrate my old version of SharePoint Framework project to newer version v1.12.1.
Develop a simple and generic webpart to connect Microsoft Graph API using Microsoft Graph Toolkit web components in the SharePoint Framework webpart
Here's the code, you can use to fetch all the attachments from the list using pnp js library in SharePoint Framework webpart.
Use the code snippets to get the current users information from the SharePoint Framework webpart with PnP JS library