UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

32 lines (31 loc) 1.41 kB
/** * CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24 * Update:: import { ImageFit } to '@mikezimm/fps-core-v7/lib/types/@fluentUI/@7.199.1/Image;' * Update:: import { ImageCoverStyle } to '@mikezimm/fps-core-v7/lib/types/@fluentUI/@7.199.1/Image;' */ /// <reference types="react" /> import { IMyTextElementTypes } from './IElements'; /** * * @param title Title string if required, can contain <above> or <below> anywhere to target location. * @param styles Styles should be this limited structure: { color: 'htmlColor', height: 2 } */ export declare function MyDivider(title: string, styles: any): JSX.Element; export declare function MyText(type: IMyTextElementTypes, title: string, styles?: any): JSX.Element; /** * * @param title * @param src * @param styles usable styles * styles = { * padding: 20, // padding is around entire image * ImageFit: 0 | 1 | 2 | 3 | 4 | 5, // These would be the ImageFit types * ImageCoverStyle: 0 | 1, // These would be the ImageCoverStyle types (landscape and portrait) * height: 20, * width: 20, * * } */ export declare function MyImage(title: string, src: string, styles?: any, href?: any): JSX.Element; export declare function convertTextToListItems(value: string, delim: string, leftPad: number, type: 'ul' | 'ol'): any; //# sourceMappingURL=basic.d.ts.map