<commit_before>let React = require('react')

class BlockType {

  constructor({ component, menuItems, label, types, id, private }) {
    if (typeof component === 'object') {
      component = React.createClass(component)
    }

    this.id        = id
    this.label     = label
    this.types     = types || []
    this.component = component
    this.menuItems = menuItems
    this.private   = private
  }

  valueOf() {<commit_msg>[update] propagate change to block type<commit_after>let React = require('react')

class BlockType {

  constructor({ component, menuItems, label, types, id, childOnly }) {
    if (typeof component === 'object') {
      component = React.createClass(component)
    }

    this.id        = id
    this.label     = label
    this.types     = types || []
    this.component = component
    this.menuItems = menuItems
    this.childOnly = childOnly
  }

  valueOf() {
{'fraction_non_alphanumeric': 0.11830357142857142, 'fraction_numerical': 0.0, 'mean_word_length': 2.6762295081967213, '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': '5684948', 'n_tokens_mistral': 263, 'n_tokens_neox': 252, 'n_words': 67}