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; }

/*
Copyright (c) 2018-2019 Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
import { styled } from '../styles/index.js';
import { SIZE } from '../input/index.js';
export var IconWrapper = styled('div', function (props) {
  var _marginLeft;

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