text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.styles = undefined;
  
  var _extends2 = require('babel-runtime/helpers/extends');
  
  var _extends3 = _interopRequireDefault(_extends2);
  
  var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
  
  var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
  
  var _react = require('react');
  
  var _react2 = _interopRequireDefault(_react);
  
  var _propTypes = require('prop-types');
  
  var _propTypes2 = _interopRequireDefault(_propTypes);
  
  var _classnames = require('classnames');
  
  var _classnames2 = _interopRequireDefault(_classnames);
  
  var _withStyles = require('../styles/withStyles');
  
  var _withStyles2 = _interopRequireDefault(_withStyles);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  var styles = exports.styles = function styles(theme) {
    return {
      root: {
        height: 24,
        marginRight: theme.spacing.unit * 2,
        width: 24,
        color: theme.palette.action.active,
        flexShrink: 0
      }
    };
  };
  
  /**
   * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
   */
  function ListItemIcon(props) {
    var children = props.children,
        classes = props.classes,
        classNameProp = props.className,
        other = (0, _objectWithoutProperties3.default)(props, ['children', 'classes', 'className']);
  
  
    return _react2.default.cloneElement(children, (0, _extends3.default)({
      className: (0, _classnames2.default)(classes.root, classNameProp, children.props.className)
    }, other));
  }
  
  ListItemIcon.propTypes = process.env.NODE_ENV !== "production" ? {
    /**
     * The content of the component, normally `Icon`, `SvgIcon`,
     * or a `material-ui-icons` SVG icon component.
     */
    children: _propTypes2.default.element.isRequired,
    /**
     * Useful to extend the style applied to components.
     */
    classes: _propTypes2.default.object.isRequired,
    /**
     * @ignore
     */
    className: _propTypes2.default.string
  } : {};
  
  exports.default = (0, _withStyles2.default)(styles, { name: 'MuiListItemIcon' })(ListItemIcon);