From 7fcc3d76c6004c8f3e715dfbdc4244971d5c84d7 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Wed, 10 Feb 2021 23:36:28 -0500 Subject: [PATCH] Updated readme and fixed spelling mistake --- samples/react-list-items-menu/README.md | 11 ++++++++--- .../webparts/listItemsMenu/ListItemsMenuWebPart.ts | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/samples/react-list-items-menu/README.md b/samples/react-list-items-menu/README.md index 0f6fd4a6f..7b21dee88 100644 --- a/samples/react-list-items-menu/README.md +++ b/samples/react-list-items-menu/README.md @@ -15,9 +15,14 @@ When the user clicks on the header it dynamically load documents. ![ListItemsMenu](./assets/reactListItems3.JPG) +## Compatibility + +![SPFx 1.11](https://img.shields.io/badge/SPFx-1.11.0-green.svg) +![Node.js LTS 10.x](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg) +![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg) +![Teams Yes: Designed for Microsoft Teams](https://img.shields.io/badge/Teams-Yes-green.svg "Designed for Microsoft Teams") +![Workbench Hosted: Does not work with local workbench](https://img.shields.io/badge/Workbench-Hosted-yellow.svg "Does not work with local workbench") -## Used SharePoint Framework Version -![SPFx 1.11](https://img.shields.io/badge/version-1.11.0-green.svg) ## Applies to @@ -39,7 +44,7 @@ The Web Part Use PnPjs library, Fluent-Ui-react components Solution|Author(s) --------|--------- -React List Items Menu |João Mendes +React List Items Menu |[João Mendes](https://github.com/joaojmendes) ([@joaojmendes](https://twitter.com/joaojmendes)) ## Version history diff --git a/samples/react-list-items-menu/src/webparts/listItemsMenu/ListItemsMenuWebPart.ts b/samples/react-list-items-menu/src/webparts/listItemsMenu/ListItemsMenuWebPart.ts index 1f66a54ce..290ab168e 100644 --- a/samples/react-list-items-menu/src/webparts/listItemsMenu/ListItemsMenuWebPart.ts +++ b/samples/react-list-items-menu/src/webparts/listItemsMenu/ListItemsMenuWebPart.ts @@ -106,7 +106,7 @@ export default class ListItemsMenuWebPart extends BaseClientSideWebPart< this.render(); } - // Apply btheme id in Teams + // Apply theme id in Teams private _applyTheme = (theme: string): void => { this.context.domElement.setAttribute("data-theme", theme); document.body.setAttribute("data-theme", theme);