Skip to content

Commit 4ede95c

Browse files
Merge pull request SharePoint#9963 from lvmcastro/patch-2
Adds to the tutorial the requirement of installing the correct React version
2 parents c349f2e + bec2341 commit 4ede95c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/spfx/extensions/guidance/using-custom-dialogs-with-spfx.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Tutorial - Use custom dialog boxes with SharePoint Framework Extensions
33
description: Create a custom dialog box and use it within the context of a ListView Command Set extension.
4-
ms.date: 12/13/2021
4+
ms.date: 10/10/2024
55
ms.localizationpriority: high
66
---
77

@@ -40,6 +40,12 @@ You can access the sample code that this article is based on in the [sp-dev-fx-e
4040
npm install office-ui-fabric-react --save
4141
```
4242

43+
1. Install the correct version of React and React-dom indicated in [SPFx development environment compatibility](../../compatibility.md#spfx-development-environment-compatibility).
44+
45+
```console
46+
npm instal [email protected] [email protected] --save-exact
47+
```
48+
4349
1. Open your project folder in your code editor. This article uses Visual Studio Code in the steps and screenshots, but you can use any editor that you prefer. To open the folder in Visual Studio Code, use the following command in the console:
4450

4551
```console

0 commit comments

Comments
 (0)