Skip to content

Commit f671886

Browse files
committed
Fixing #10424 - adding missing install command to the docs.
1 parent 343b5ad commit f671886

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/spfx/web-parts/guidance/getting-started-with-top-actions.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ Both of these steps are accomplished by providing a configuration object of type
2525
> [!TIP]
2626
> These instructions assume you know [how to create a hello world web part](../get-started/build-a-hello-world-web-part.md).
2727
28+
## Install Top Actions npm package
29+
30+
Top Actions capability is packged to it's own NPM package and you'll need to include that to the SPFx project:
31+
32+
In the console, execute the following to install the Top Actions NPM package:
33+
34+
```console
35+
@microsoft/sp-top-actions
36+
```
37+
2838
## Define a Top Action configuration
2939

3040
Adding Top Actions to a web part follows a similar pattern to configuring the web part property pane.

0 commit comments

Comments
 (0)