@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
30 lines (29 loc) • 966 B
TypeScript
import { IHelpTable } from '../HelpPanelOnNPM/banner/SinglePage/ISinglePageProps';
/**
* tricksTable creates table of "tricks" which provide url paramters to reload the page in different modes
* Originally copied from FPSPageInfo
* const showScenario, showTool, showGulp, showAllowOther, showCrazy, showCreate: boolean = true;
* @param showScenario
* @param showTool
* @param showGulp
* @param showAllowOther
* @param showCrazy
* @param showCreate
* @returns
*/
export declare function tricksTable(showScenario: boolean, showTool: boolean, showGulp: boolean, showAllowOther: boolean, showCrazy: boolean, showCreate: boolean): {
table: IHelpTable;
};
export declare function makeCenteredSpan(info: any): {
info: any;
style: {
textAlign: string;
};
};
export declare function makeCenteredBoldSpan(info: any): {
info: any;
style: {
textAlign: string;
fontWeight: string;
};
};