function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import React from 'react';
import { Box } from '../../primitives';
import { usePropsConfig } from '../../../theme';
export const AvatarBadge = props => {
  const {
    boxSize,
    ...newProps
  } = usePropsConfig('AvatarBadge', props);
  return /*#__PURE__*/React.createElement(Box, _extends({
    position: "absolute",
    right: 0,
    bottom: 0
  }, newProps, {
    width: boxSize || 3,
    height: boxSize || 3
  }));
};
//# sourceMappingURL=Badge.js.map