"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.IconWrapper = void 0;

var _index = require("../styles/index.js");

var _index2 = require("../input/index.js");

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var IconWrapper = (0, _index.styled)('div', function (props) {
  var _marginLeft;

  var $size = props.$size,
      $theme = props.$theme;
  var marginLeft = (_marginLeft = {}, _defineProperty(_marginLeft, _index2.SIZE.compact, $theme.sizing.scale500), _defineProperty(_marginLeft, _index2.SIZE.default, $theme.sizing.scale600), _defineProperty(_marginLeft, _index2.SIZE.large, $theme.sizing.scale700), _marginLeft);
  return {
    //$FlowFixMe
    marginLeft: marginLeft[$size],
    height: '100%',
    display: 'flex',
    alignItems: 'center'
  };
});
exports.IconWrapper = IconWrapper;
IconWrapper.displayName = "IconWrapper";