Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ols-react into tom-daly-patch-1
  • Loading branch information
AJIXuMuK committed Oct 14, 2020
2 parents c9a27cf + 87e9277 commit fb43962
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
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
2 changes: 1 addition & 1 deletion docs/documentation/docs/controls/TaxonomyPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ The TaxonomyPicker control can be configured with the following properties:
| ---- | ---- | ---- | ---- |
| panelTitle | string | yes | TermSet Picker Panel title. |
| label | string | yes | Text displayed above the Taxonomy Picker. |
| disabled | string | no | Specify if the control needs to be disabled. |
| disabled | boolean | no | Specify if the control needs to be disabled. |
| context | WebPartContext \| ExtensionContext | yes | Context of the current web part or extension. |
| initialValues | IPickerTerms | no | Defines the selected by default term sets. |
| allowMultipleSelections | boolean | no | Defines if the user can select only one or many term sets. Default value is false. |
Expand Down
3 changes: 3 additions & 0 deletions docs/documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This repository provides developers with a set of reusable React controls that can be used in SharePoint Framework (SPFx) solutions. The project provides controls for building web parts and extensions.

!!! attention
In order to migrate to `v2` it is advicded to follow this guide: [Migrating from V1](./guides/migrate-from-v1).

![Placeholder example](./assets/placeholder-intro.png)

!!! attention
Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,5 @@
"Rodrigues, Joel <>",
"Struyf, Elio <info@estruyf.be>",
"Terentiev, Alex <alex@aterentiev.com>"
],
"husky": {
"hooks": {
"pre-commit": "npm run changelog"
}
}
]
}

0 comments on commit fb43962

Please sign in to comment.