/**
 * @file TextFieldGroup component
 * @author liangxiaojun(liangxiaojun@derbysoft.com)
 */

import React, {Component} from 'react';
import PropTypes from 'prop-types';

class TextFieldGroup extends Component {

    constructor(props, ...restArgs) {
        super(props, ...restArgs);
    }

    render() {

        const {children, className, style} = this.props;

        return (
            <div className={`text-field-group ${className}`}
                 style={style}>
                {children}
            </div>
        );

    }
};

TextFieldGroup.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object
};

TextFieldGroup.defaultProps = {
    className: '',
    style: null
};

export default TextFieldGroup;
@@ -163,16 +163,53 @@
 -types';
+%0Aimport classNames from 'classnames';
 %0A%0Aclass 
@@ -395,16 +395,134 @@
 is.props
+,%0A%0A            groupClassName = classNames('text-field-group', %7B%0A                %5BclassName%5D: className%0A            %7D)
 ;%0A%0A     
@@ -565,29 +565,14 @@
 me=%7B
-%60text-field-
 group
- $%7Bc
+C
 lass
@@ -580,10 +580,8 @@
 ame%7D
-%60%7D
 %0A   

update TextFieldGroup