import React from 'react';
import classNames from 'classnames';
import './index.css';
import { FcrIcon } from '../icon';
import { FcrIconType } from '../icon/type';
import { jsx as _jsx } from "react/jsx-runtime";
export var FcrAvatarIcon = function FcrAvatarIcon(_ref) {
  var size = _ref.size,
    type = _ref.type;
  var cls = classNames('fcr-avatar-icon', {
    'fcr-avatar-icon-phone': type === 'phone',
    'fcr-avatar-icon-sip': type === 'sip'
  });
  return /*#__PURE__*/_jsx("div", {
    className: cls,
    style: {
      width: size,
      height: size
    },
    children: /*#__PURE__*/_jsx(FcrIcon, {
      type: type === 'phone' ? FcrIconType.FCR_PHONECALL3 : FcrIconType.FCR_SIPDEVICE,
      size: 24
    })
  });
};