UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

19 lines (18 loc) 1.04 kB
/** * CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52 * Update:: import { ICallbackAddParamToUrl } to '@mikezimm/fps-core-v7/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152;' */ /// <reference types="react" /> import { ICallbackAddParamToUrl } from '@mikezimm/fps-core-v7/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152'; /** * createParamLink will create a paramter link like: setLayout=Layout2 * that will be clickable to call function on class level to update Url and re-render the web part * This will let you both update the page url with the parameter, open the current page with new paramter in a new tab and also rerender the web part * @param param * @param onClick * @param newTab * @returns */ export declare function createParamLink(param: string, onClick: ICallbackAddParamToUrl, newTab?: boolean): JSX.Element; export declare function paramLinks(showParams: string[], addParamToUrl: ICallbackAddParamToUrl): JSX.Element; //# sourceMappingURL=CallBackLinks.d.ts.map