UNPKG

@excentone/spfx-react

Version:

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

6 lines (5 loc) 270 B
/** * `useComponentContext` is just a shorthand for `useContext(WebPartComponentContext)`. * @returns A context object that can be used by React components. */ export declare const useComponentContext: () => import("./ComponentContext.types").IComponentContextProps;