@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
50 lines (34 loc) • 1.61 kB
text/typescript
/**
*
* THIS File should be copied to your local project, not referred to through here.
* NOTICE: GET LATEST VERSION FROM SAMPLE PROJECTS: CoreFPS114 or CoreFPS115
*
* https://github.com/mikezimm/CoreFPS114
* https://github.com/mikezimm/CoreFPS115
*
*/
// import { IWebpartBannerProps, IBannerPages, tricksTable } from '../../fpsReferences';
// import { aboutTable } from './About';
// import { advancedContent } from './Advanced';
// import { basicsContent } from './Basics';
// import { errorsContent } from './Errors';
// import { futureContent } from './FuturePlans';
// import { gettingStartedContent } from './GettingStarted';
// import { getRandomTip, webParTips } from './Tips';
// import { whyContent } from './Whyme'; //2022-01-31: Added Pivot Tiles
// export function getBannerPages ( bannerProps: IWebpartBannerProps ) {
// const result : IBannerPages = {
// whyContent: whyContent( ),
// aboutTable: aboutTable( bannerProps.showRepoLinks ),
// gettingStartedContent: gettingStartedContent( ),
// errorsContent: errorsContent( ),
// advancedContent: advancedContent( ),
// futureContent: futureContent( ),
// basicsContent: basicsContent( ),
// // tricksTable( showScenario, showTool, showGulp, showAllowOther, showCrazy, showCreate ); all booleans
// tricksTable: tricksTable( true, true, true, false, false, false ),
// getRandomTip: getRandomTip( ),
// webParTips: webParTips,
// };
// return result;
// }