@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
26 lines (25 loc) • 1.72 kB
TypeScript
/// <reference types="react" />
import { IPropertyFieldGroupOrPerson } from "@pnp/spfx-property-controls/lib/PropertyFieldPeoplePicker";
import { IRepoLinks } from '../Links/CreateLinks';
export interface IMinWPVisitorPanelInfo {
[key: string]: string | IPropertyFieldGroupOrPerson[];
bannerTitle: string;
panelMessageDescription1: string;
panelMessageSupport: string;
panelMessageDocumentation: string;
panelMessageIfYouStill: string;
documentationLinkDesc: string;
documentationLinkUrl: string;
supportContacts: IPropertyFieldGroupOrPerson[];
}
/***
* db db d888888b .d8888. d888888b d888888b .d88b. d8888b. d8888b. .d8b. d8b db d88888b db d888888b d8b db d88888b .d88b.
* 88 88 `88' 88' YP `88' `~~88~~' .8P Y8. 88 `8D 88 `8D d8' `8b 888o 88 88' 88 `88' 888o 88 88' .8P Y8.
* Y8 8P 88 `8bo. 88 88 88 88 88oobY' 88oodD' 88ooo88 88V8o 88 88ooooo 88 88 88V8o 88 88ooo 88 88
* `8b d8' 88 `Y8b. 88 88 88 88 88`8b 88~~~ 88~~~88 88 V8o88 88~~~~~ 88 88 88 V8o88 88~~~ 88 88
* `8bd8' .88. db 8D .88. 88 `8b d8' 88 `88. 88 88 88 88 V888 88. 88booo. .88. 88 V888 88 `8b d8'
* YP Y888888P `8888Y' Y888888P YP `Y88P' 88 YD 88 YP YP VP V8P Y88888P Y88888P Y888888P VP V8P YP `Y88P'
*
*
*/
export declare function visitorPanelInfo(wpProps: IMinWPVisitorPanelInfo, repoLinks: IRepoLinks, bodyText: string, fromText: string, loadSummary: JSX.Element | null): JSX.Element;