@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
38 lines (36 loc) • 1.64 kB
TypeScript
/**
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52
* Update:: import { IPropertyPaneField } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
*/
import { IPropertyPaneField } from '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane';
/**
* 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?: IPropertyPaneField<any>[], off?: string, on?: string, checked?: boolean, disabled?: boolean): IPropertyPaneField<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?: IPropertyPaneField<any>[], description?: string, disabled?: boolean): IPropertyPaneField<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: IPropertyPaneField<any>[], min: number, max: number, step: number, disabled?: boolean): IPropertyPaneField<any>[];
//# sourceMappingURL=controls.d.ts.map