sp webpart base.isdks - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-webpart-base > ISDKs
Conditional set of SDKs provided by SPFx dependent on the environment.
Signature:
export interface ISDKs| Property | Type | Description |
|---|---|---|
| microsoftTeams? | IMicrosoftTeams | (Optional) Contextual information about the current Microsoft Teams tab. This object will only be defined if a component is being hosted in Microsoft Teams. |
| office? | IOffice | (BETA) (Optional) Contextual information about the current Office app. This object will only be defined if a component is being hosted in an Office app. |