Dec 11, 2018 · Scaffold SPFx webpart solution with React This step is pretty self-explanatory, simply run yo @microsoft/sharepoint, select React, give your webpart a name, do not change other defaults asked by yeoman. 2.
This code belongs to a Webpart with a ListView Control from the React PnP Controls and PnP Reusable property pane controls for the SharePoint. I didn’t create any Data Model Interface, that’s why I’m using Object.Keys and JSON.stringify from the REACT State.
React; 4. Install the SPFx React Controls npm install @pnp/spfx-controls-react --save --save-exact 5. Add the Properties to AddTitleWebPart.ts. In your AddTitleWebPart.ts under the BaseClientSideWebPart class, delete the description property. We will not be using it. Replace with title, displayMode, and updateProperty properties.