UNPKG

@mikezimm/npmfunctions

Version:
30 lines (29 loc) 973 B
/// <reference types="react" /> /** * Blogs */ export declare const blogSPTimeZone: JSX.Element; export declare function createRepoLinks(href: string, target: string, linkDesc: string): { repo: JSX.Element; issues: JSX.Element; wiki: JSX.Element; projects: JSX.Element; href: string; target: string; desc: string; }; export declare function createLink(href: string, target: string, linkDesc: string, styles?: any): JSX.Element; /** * This should be able to tell whether a SPO link is valid or not. * @param url * @param consoleLog * @param extraMessage * @returns */ export declare function _LinkIsValid(url: string, consoleLog?: boolean, extraMessage?: string): Promise<false | "" | "Link is not valid">; /** * This is different from _LinkIsValid in that it returns the status... ie 404, 403, etc... * @param url * @returns */ export declare function _LinkStatus(url: string): Promise<number | false>;