UNPKG

@atlaskit/avatar

Version:

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

16 lines (15 loc) 441 B
import { createContext } from 'react'; var defaultAvatarContentProps = { as: 'span', appearance: 'circle', avatarImage: null, ref: null, size: 'medium' }; /** * __Avatar content context__ * * This context provides the props for the AvatarContent component, enabling * consumers to compose the AvatarContent with the Avatar component. */ export var AvatarContentContext = /*#__PURE__*/createContext(defaultAvatarContentProps);