'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});

var _defineProperty2 = require('babel-runtime/helpers/defineProperty');

var _defineProperty3 = _interopRequireDefault(_defineProperty2);

var _react = require('react');

var React = _interopRequireWildcard(_react);

var _classnames = require('classnames');

var _classnames2 = _interopRequireDefault(_classnames);

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj; return newObj; } }

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var Group = function Group(props) {
    var className = (0, _classnames2["default"])((0, _defineProperty3["default"])({
        'ant-input-group': true,
        'ant-input-group-lg': props.size === 'large',
        'ant-input-group-sm': props.size === 'small'
    }, props.className, !!props.className));
    return React.createElement(
        'span',
        { className: className, style: props.style },
        props.children
    );
};
Group.propTypes = {
    children: React.PropTypes.any
};
exports["default"] = Group;
module.exports = exports['default'];