UNPKG

@excentone/spfx-react

Version:

Contains custom ReactJs components and hooks intended to use when developing SharePoint Framework (SPFx) Web components.

12 lines (11 loc) 414 B
import { ServiceScope } from "@microsoft/sp-core-library"; /** * React context to provide {@link ServiceScope} instance to React components. */ export interface IServiceScopeContextProps { /** * The `{@link ServiceScope} instance for the current SPFx web component. * Use this to consume a service registered in the service scope inside a React component. */ serviceScope: ServiceScope; }