@excentone/spfx-react
Version:
Contains custom ReactJs components and hooks intended to use when developing SharePoint Framework (SPFx) Web components.
8 lines (7 loc) • 377 B
TypeScript
import { PageUrlsHook, IPageUrlOptions } from "./usePageUrls.types";
/**
* `usePageUrls` returns an object containing a key-value pair of urls and a function that can be called to go to the url with the specified key.
* @param options The options to be passed to the custom hook.
* @returns
*/
export declare const usePageUrls: (options?: IPageUrlOptions) => PageUrlsHook;