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

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

import SelectMode from '../_statics/SelectMode';
import SelectAllMode from '../_statics/SelectAllMode';
import SortingType from '../_statics/SortingType';

class TableHeader extends Component {

    static SelectMode = SelectMode;
    static SelectAllMode = SelectAllMode;
    static SortingType = SortingType;

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

    render() {

        const {className, style} = this.props;

        return (
            <div className={classNames('table-header', {
                [className]: className
            })}
                 style={style}>

            </div>
        );
    }
}

TableHeader.propTypes = {

    /**
     * The CSS class name of the root element.
     */
    className: PropTypes.string,

    /**
     * Override the styles of the root element.
     */
    style: PropTypes.object

};

TableHeader.defaultProps = {};

export default TableHeader;

@@ -816,17 +816,16 @@
 style%7D%3E%0A
-%0A
         
@@ -846,16 +846,17 @@
      );%0A
+%0A
     %7D%0A%7D%0A
@@ -1081,40 +1081,8 @@
 %7D;%0A%0A
-TableHeader.defaultProps = %7B%7D;%0A%0A
 expo

update TableHeader