Skip to content

Commit 9442988

Browse files
Update SecurityTrimmedControl.md
missing imports are added
1 parent 87af8a7 commit 9442988

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/documentation/docs/controls/SecurityTrimmedControl.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ This control is intended to be used when you want to show or hide components bas
88
- Import the following modules to your component:
99

1010
```TypeScript
11-
import { SecurityTrimmedControl } from "@pnp/spfx-controls-react/lib/SecurityTrimmedControl";
11+
import { SecurityTrimmedControl, PermissionLevel } from "@pnp/spfx-controls-react/lib/SecurityTrimmedControl";
12+
import { SPPermission } from '@microsoft/sp-page-context';
1213
```
1314

1415
- You can use the `SecurityTrimmedControl` as follows in your solutions:

0 commit comments

Comments
 (0)