Skip to content

Commit df19974

Browse files
authored
Merge pull request #657 from ravichandran-blog/patch-2
Update SecurityTrimmedControl.md
2 parents d65da5c + 9442988 commit df19974

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)