<commit_before>import React from 'react';

import { classes } from '../../../util/constants';

const SeekBar = ({ setBar, onClick, onMouseDown, onTouchStart,
  seekPercent, ...attributes }) => (
    <div
      ref={setBar} className={classes.SEEK_BAR}
      style={{ width: `${seekPercent}%` }} onClick={onClick}
      onTouchStart={onTouchStart} onMouseDown={onMouseDown}
      {...attributes}
    />
);

SeekBar.defaultProps = {
  setBar: null,
  onClick: null,
  onMouseDown: null,
  onTouchStart: null,
};

SeekBar.propTypes = {
  seekPercent: React.PropTypes.number.isRequired,
  setBar: React.PropTypes.func,
  onClick: React.PropTypes.func,
  onMouseDown: React.PropTypes.func,
  onTouchStart: React.PropTypes.func,
  children: React.PropTypes.node.isRequired,
};

export default SeekBar;<commit_msg>Changed seek bar children propType<commit_after>import React from 'react';

import { classes } from '../../../util/constants';

const SeekBar = ({ setBar, onClick, onMouseDown, onTouchStart,
  seekPercent, ...attributes }) => (
    <div
      ref={setBar} className={classes.SEEK_BAR}
      style={{ width: `${seekPercent}%` }} onClick={onClick}
      onTouchStart={onTouchStart} onMouseDown={onMouseDown}
      {...attributes}
    />
);

SeekBar.defaultProps = {
  setBar: null,
  onClick: null,
  onMouseDown: null,
  onTouchStart: null,
};

SeekBar.propTypes = {
  seekPercent: React.PropTypes.number.isRequired,
  setBar: React.PropTypes.func,
  onClick: React.PropTypes.func,
  onMouseDown: React.PropTypes.func,
  onTouchStart: React.PropTypes.func,
  children: React.PropTypes.oneOfType([
    React.PropTypes.arrayOf(React.PropTypes.element),
    React.PropTypes.element,
  ]).isRequired,
};

export default SeekBar;
{'fraction_non_alphanumeric': 0.14682080924855492, 'fraction_numerical': 0.0, 'mean_word_length': 4.06140350877193, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5203162', 'n_tokens_mistral': 568, 'n_tokens_neox': 576, 'n_words': 108}