@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
16 lines (15 loc) • 712 B
TypeScript
/// <reference types="react" />
export declare const baseDevDocs = "https://developer.microsoft.com/en-us/fabric#/controls/web/";
export interface IRepoLinks {
repo: any;
issues: any;
wiki: any;
projects: any;
href: string;
target: string;
desc: string;
}
export declare function createRepoLinks(href: string, target: string, linkDesc: string, style?: 'legacy' | 'smaller' | 'small'): IRepoLinks;
export declare function createLink(href: string, target: string, linkDesc: string): JSX.Element;
export declare function createSpanLink(url: string, desc: string, title?: string, size?: string): JSX.Element;
export declare function openThisLinkInNewTab(input: any): void;