<commit_before>import React from 'react';
import { Component, PropTypes } from '../../libs';
import classnames from 'classnames';

class BodyItem extends Component{
  constructor(props, context){
    super(props, context);
    this.state = {
      hover: false
    };
  } 

  onMouseState(hover){
    this.setState({
      hover: hover
    });
  }

  render(){
    const { itemData, columns, rowIndex, rowClassName } = this.props;
    const rootClassName = classnames({
      'hover-row': this.state.hover,
      [rowClassName&&rowClassName(itemData, rowIndex)]: true
    });

    return (<commit_msg>表格组件功能：带斑马纹表格，带边框表格，带状态表格,  固定表头, 列拖拽<commit_after>import React from 'react';
import { Component, PropTypes } from '../../libs';
import classnames from 'classnames';

class BodyItem extends Component{
  constructor(props, context){
    super(props, context);
    this.state = {
      hover: false
    };
  } 

  onMouseState(hover){
    this.setState({
      hover: hover
    });
  }

  render(){
    const { itemData, columns, rowIndex, rowClassName } = this.props;
    const rootClassName = this.classNames({
      'hover-row': this.state.hover,
      [rowClassName&&rowClassName(itemData, rowIndex)]: true
    });

    return (
{'fraction_non_alphanumeric': 0.1364744110479285, 'fraction_numerical': 0.0, 'mean_word_length': 3.204778156996587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7451966', 'n_tokens_mistral': 396, 'n_tokens_neox': 399, 'n_words': 90}