Skip to content

Commit 5f30b47

Browse files
committed
commit chnages
1 parent 2f28397 commit 5f30b47

File tree

6 files changed

+47489
-7412
lines changed

6 files changed

+47489
-7412
lines changed

docs/documentation/docs/controls/LivePersona.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import { LivePersona } from "@pnp/spfx-controls-react/lib/LivePersona";
3535
<Persona text="João Mendes" secondaryText="[email protected]" coinSize={48} />
3636
</>
3737
}
38-
context={this.props.context}
38+
serviceScope={this.context.serviceScope}
3939
/>
4040
```
4141

@@ -47,7 +47,7 @@ The `LivePersona` control can be configured with the following properties:
4747

4848
| Property | Type | Required | Description |
4949
| ---- | ---- | ---- | ---- |
50-
| context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
50+
| serviceScope | ServiceScope | yes | The ServiceScope object of the SPFx loaded from context of webpart or customizer. |
5151
| upn |string | yes | User UPN |
5252
| disableHover | bollean | no | If info should not appear on hover |
5353
| template | string | JSX.ELement | yes | The content to wrap with persona info |

0 commit comments

Comments
 (0)