"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useAvatarGroup = exports.avatarGroupContext = void 0;
var _react = require("react");
/**
 * Interface for Avatar Group Context
 * This interface is used to define the context for the Avatar Group
 */

// Create a context for Avatar Group with default value as an empty object of type IAvatarGroupContext
const avatarGroupContext = exports.avatarGroupContext = /*#__PURE__*/(0, _react.createContext)({});

/**
 * Hook to get access to the state of an Avatar group
 */
const useAvatarGroup = () => (0, _react.useContext)(avatarGroupContext);
exports.useAvatarGroup = useAvatarGroup;
//# sourceMappingURL=useAvatarGroup.js.map