text: /**
   * Copyright (c) 2015, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   *
   * @providesModule FixedDataTableColumnGroup.react
   * @typechecks
   */
  
  var React = require('React');
  
  var {PropTypes} = React;
  
  /**
   * Component that defines the attributes of a table column group.
   */
  var FixedDataTableColumnGroup = React.createClass({
    statics: {
      __TableColumnGroup__: true
    },
  
    propTypes: {
      /**
       * The horizontal alignment of the table cell content.
       */
      align: PropTypes.oneOf(['left', 'center', 'right']),
  
      /**
       * Controls if the column group is fixed when scrolling in the X axis.
       */
      fixed: PropTypes.bool,
  
      /**
       * Bucket for any data to be passed into column group renderer functions.
       */
      columnGroupData: PropTypes.object,
  
      /**
       * The column group's header label.
       */
      label: PropTypes.string,
  
      /**
       * The cell renderer that returns React-renderable content for a table
       * column group header. If it's not specified, the label from props will
       * be rendered as header content.
       * ```
       * function(
       *   label: ?string,
       *   cellDataKey: string,
       *   columnGroupData: any,
       *   rowData: array<?object>, // array of labels of all coludmnGroups
       *   width: number
       * ): ?$jsx
       * ```
       */
      groupHeaderRenderer: PropTypes.func,
    },
  
    getDefaultProps() /*object*/ {
      return {
        fixed: false,
      };
    },
  
    render() {
      if (__DEV__) {
        throw new Error(
          'Component <FixedDataTableColumnGroup /> should never render'
        );
      }
      return null;
    },
  });
  
  module.exports = FixedDataTableColumnGroup;
  