UNPKG

mui-spfx-controls

Version:
10 lines 503 B
import { WebPartContext } from '@microsoft/sp-webpart-base'; /** * Generates a user profile image URL from SharePoint based on the provided email. * * @param {WebPartContext} context - The SharePoint WebPart context. * @param {string | undefined} email - The email address of the user. * @returns {string} - The URL of the user's profile image. */ export declare const generateImageUrl: (context: WebPartContext, email: string | undefined) => string; //# sourceMappingURL=generateImageUrl.d.ts.map