UNPKG

@atlaskit/avatar

Version:

An avatar is a visual representation of a user or entity.

6 lines (5 loc) • 361 B
import { type MouseEventHandler } from 'react'; import type { TriggerAriaProps } from '@atlaskit/popup/types'; type TAvatarHasPopup = TriggerAriaProps['aria-haspopup']; declare const getCustomElement: (isDisabled?: boolean, href?: string, onClick?: MouseEventHandler, ariaHasPopup?: TAvatarHasPopup) => 'a' | 'button' | 'span'; export default getCustomElement;