File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
docs/documentation/docs/controls Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ This control is intended to be used when you want to show or hide components bas
8
8
- Import the following modules to your component:
9
9
10
10
``` 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' ;
12
13
```
13
14
14
15
- You can use the ` SecurityTrimmedControl ` as follows in your solutions:
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ The TaxonomyPicker control can be configured with the following properties:
152
152
| ---- | ---- | ---- | ---- |
153
153
| panelTitle | string | yes | TermSet Picker Panel title. |
154
154
| label | string | yes | Text displayed above the Taxonomy Picker. |
155
- | disabled | string | no | Specify if the control needs to be disabled. |
155
+ | disabled | boolean | no | Specify if the control needs to be disabled. |
156
156
| context | WebPartContext \| ExtensionContext | yes | Context of the current web part or extension. |
157
157
| initialValues | IPickerTerms | no | Defines the selected by default term sets. |
158
158
| allowMultipleSelections | boolean | no | Defines if the user can select only one or many term sets. Default value is false. |
You can’t perform that action at this time.
0 commit comments