UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

10 lines 685 B
export declare function getOneSageBaseUrl(currentHostname: string, currentBackendEndpoint: string): string; export declare function getOneSageUrl(currentHostname: string, currentBackendEndpoint: string, appId?: string, path?: string, search?: URLSearchParams, hash?: string): URL; /** * Create a URL to OneSage that includes the current app's ID using SynapseContext * @param path the path to the OneSage page * @param search an optional set of URLSearchParams to append to the URL * @param hash an optional hash to append to the URL */ export declare function useOneSageURL(path?: string, search?: URLSearchParams, hash?: string): URL; //# sourceMappingURL=useOneSageURL.d.ts.map