Skip to content

Commit

Permalink
Merge pull request #657 from ravichandran-blog/patch-2
Browse files Browse the repository at this point in the history
Update SecurityTrimmedControl.md
  • Loading branch information
estruyf authored Sep 9, 2020
2 parents d65da5c + 9442988 commit df19974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/documentation/docs/controls/SecurityTrimmedControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ This control is intended to be used when you want to show or hide components bas
- Import the following modules to your component:

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

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

0 comments on commit df19974

Please sign in to comment.