File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
docs/documentation/docs/controls Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ The `DynamicForm` can be configured with the following properties:
32
32
33
33
| Property | Type | Required | Description |
34
34
| ---- | ---- | ---- | ---- |
35
- | context | WebPartContext or ExtensionContext | yes | The context object of the SPFx loaded webpart or customizer. |
35
+ | context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
36
36
| listId | string | yes | Guid of the list.|
37
37
| listItemId | number | no | list item ID. |
38
38
| contentTypeId | string | no | content type ID |
Original file line number Diff line number Diff line change 1
- import { ExtensionContext } from '@microsoft/sp-extension-base' ;
2
- import { WebPartContext } from '@microsoft/sp-webpart-base' ;
1
+ import { BaseComponentContext } from '@microsoft/sp-component-base' ;
3
2
4
3
export interface IDynamicFormProps {
5
4
/**
6
5
* Current context
7
6
*/
8
- context : WebPartContext | ExtensionContext ;
7
+ context : BaseComponentContext ;
9
8
/**
10
9
* Specifies if the form is disabled
11
10
*/
You can’t perform that action at this time.
0 commit comments