UNPKG

@atlaskit/profilecard

Version:

A React component to display a card with user information.

10 lines (9 loc) 465 B
import React from 'react'; import type { AnalyticsEventAttributes } from '@atlaskit/teams-app-internal-analytics'; import { type ProfileType } from '../../types'; interface AnalyticsProps { fireAnalytics?: <K extends keyof AnalyticsEventAttributes>(eventKey: K, attributes: AnalyticsEventAttributes[K]) => void; profileType: ProfileType; } export declare const LoadingState: ({ fireAnalytics, profileType }: AnalyticsProps) => React.JSX.Element; export {};