<commit_before>import React from 'react'

export default React.createClass({
  displayName: 'CodeExampleComponent',

  render () {
    return <div key={this.props.id} id={`example-${this.props.id}`} className="example">
      <h2 className="example__heading">{this.props.title}</h2>
      {this.props.children}
    </div>
  }
})<commit_msg>Also add propTypes for the docs-site<commit_after>import React from 'react'

export default React.createClass({
  displayName: 'CodeExampleComponent',

  propTypes: {
    id: React.propTypes.string,
    title: React.propTypes.string,
    children: React.propTypes.element
  },

  render () {
    return <div key={this.props.id} id={`example-${this.props.id}`} className="example">
      <h2 className="example__heading">{this.props.title}</h2>
      {this.props.children}
    </div>
  }
})
{'fraction_non_alphanumeric': 0.15922798552472858, 'fraction_numerical': 0.0048250904704463205, 'mean_word_length': 4.0920245398773005, 'pattern_counts': {'":': 0, '<': 11, '<?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': '4925751', 'n_tokens_mistral': 271, 'n_tokens_neox': 267, 'n_words': 50}