UNPKG

@atlaskit/avatar

Version:

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

34 lines (33 loc) 1.02 kB
/** * @jsxRuntime classic * @jsx jsx */ import { type FC, type ReactNode } from 'react'; import { type Presence } from './types'; export interface PresenceProps { /** * Used to override the default border color of the presence indicator. * Accepts any color argument that the border-color CSS property accepts. */ borderColor?: string; /** * Content to use as a custom presence indicator (usually not required if * consuming Presence separate to Avatar). */ children?: ReactNode; /** * The type of presence indicator to show. */ presence?: Presence; } /** * __Avatar presence__ * * A presence shows an avatar’s availability. * * - [Examples](https://atlassian.design/components/avatar/avatar-presence/examples) * - [Code](https://atlassian.design/components/avatar/avatar-presence/code) * - [Usage](https://atlassian.design/components/avatar/avatar-presence/usage) */ declare const AvatarPresence: FC<PresenceProps>; export default AvatarPresence;