import React from 'react';
import classnames from 'classnames';
var defaultProps = {
    prefixCls: 'ty-input-group-addon',
    disabled: false,
    size: 'md',
};
var InputGroupAddon = function (props) {
    var _a;
    var inside = props.inside, disabled = props.disabled, size = props.size, prefixCls = props.prefixCls, className = props.className, style = props.style, children = props.children;
    var cls = classnames(prefixCls, className, prefixCls + "_" + size, (_a = {},
        _a[prefixCls + "_disabled"] = disabled,
        _a[prefixCls + "_inside"] = inside,
        _a));
    return React.createElement("span", { className: cls, style: style }, children);
};
InputGroupAddon.defaultProps = defaultProps;
export default InputGroupAddon;
//# sourceMappingURL=input-group-addon.js.map