UNPKG

@mikezimm/npmfunctions

Version:
40 lines (38 loc) 1.76 kB
import { IRepoLinks } from '../../Links/CreateLinks'; export declare const JSON_Edit_Link: import("@microsoft/sp-property-pane").IPropertyPaneField<import("@microsoft/sp-property-pane").IPropertyPaneLinkProps>; export declare const ValidLocalLanguages: import("@microsoft/sp-property-pane").IPropertyPaneField<import("@microsoft/sp-property-pane").IPropertyPaneLinkProps>; export declare function WebPartInfoGroup(gitRepoLinks: IRepoLinks, shortDescription: any): { groupName: string; isCollapsed: boolean; groupFields: any[]; }; /** * makePropDataToggles creates an array of data Toggle elements based on a camelCase string array like prop keys * and turns the keys into Sentance Case text * @param props * @param off * @param on * @param checked */ export declare function makePropDataToggles(newProps: string[], prevArray?: any[], off?: string, on?: string, checked?: boolean, disabled?: boolean): any[]; /** * makePropDataText creates an array of data Toggle elements based on a camelCase string array like prop keys * and turns the keys into Sentance Case text * * @param newProps * @param prevArray * @param description * @param disabled */ export declare function makePropDataText(newProps: string[], prevArray?: any[], description?: string, disabled?: boolean): any[]; /** * makePropDataSliders creates an array of data Slider elements based on a camelCase string array like prop keys * and turns the keys into Sentance Case text * @param newProps * @param prevArray * @param min * @param max * @param step * @param disabled */ export declare function makePropDataSliders(newProps: string[], prevArray: any[] | undefined, min: number, max: number, step: number, disabled?: boolean): any[];