<commit_before>
import React, {
  Component,
  PropTypes
} from 'react';
import classNames from 'classnames';
import GridBodyRow from '../rows/GridBodyRow.jsx';

export default class GridBody extends Component {

  constructor(props) {
    super(props);
  }

  render() {
    const sectionClass = classNames('dataTable__tbody', this.props.classBody);

    const rows = this.props.rows.map((row, index) => {
      return <GridBodyRow
        classBodyRow={this.props.classBodyRow}
        classBodyCell={this.props.classBodyCell}
        cells={row}
        key={row.id}
      />;
    });

    return (
      <div className={sectionClass}>
        {rows}
      </div>
    );
  }

}

GridBody.propTypes = {
  classBody: PropTypes.string,
  classBodyRow: PropTypes.string,
  classBodyCell: PropTypes.string,
  rows: PropTypes.array.isRequired,
};
<commit_msg>[BT-52] Removed console warning about key prop in GridBody<commit_after>
import React, {
  Component,
  PropTypes
} from 'react';
import classNames from 'classnames';
import GridBodyRow from '../rows/GridBodyRow.jsx';

export default class GridBody extends Component {

  constructor(props) {
    super(props);
  }

  render() {
    const sectionClass = classNames('dataTable__tbody', this.props.classBody);

    const rows = this.props.rows.map((row, index) => {
      return <GridBodyRow
        classBodyRow={this.props.classBodyRow}
        classBodyCell={this.props.classBodyCell}
        cells={row}
        key={index}
      />;
    });

    return (
      <div className={sectionClass}>
        {rows}
      </div>
    );
  }

}

GridBody.propTypes = {
  classBody: PropTypes.string,
  classBodyRow: PropTypes.string,
  classBodyCell: PropTypes.string,
  rows: PropTypes.array.isRequired,
};

{'fraction_non_alphanumeric': 0.1252847380410023, 'fraction_numerical': 0.0011389521640091116, 'mean_word_length': 3.1147540983606556, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3299965', 'n_tokens_mistral': 546, 'n_tokens_neox': 545, 'n_words': 112}