@atlaskit/avatar
Version:
An avatar is a visual representation of a user or entity.
22 lines (20 loc) • 588 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.AvatarContentContext = void 0;
var _react = require("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.
*/
var AvatarContentContext = exports.AvatarContentContext = /*#__PURE__*/(0, _react.createContext)(defaultAvatarContentProps);