<commit_before>import React from 'react'
import PropTypes from 'prop-types'

class TypographyStyle extends React.Component {
  render() {
    return React.DOM.style({
      id: 'typography.js',
      dangerouslySetInnerHTML: {
        __html: this.props.typography.toString(),
      },
    })
  }
}

TypographyStyle.propTypes = {
  typography: PropTypes.object.isRequired,
}

TypographyStyle.displayName = 'TypographyStyle'

module.exports = TypographyStyle<commit_msg>Don't use React.DOM.style<commit_after>import React from 'react'
import PropTypes from 'prop-types'

class TypographyStyle extends React.Component {
  render() {
    return (
      <style
        id={'typography.js'}
        dangerouslySetInnerHTML={{
          __html: this.props.typography.toString(),
        }}
      />
    )
  }
}

TypographyStyle.propTypes = {
  typography: PropTypes.object.isRequired,
}

TypographyStyle.displayName = 'TypographyStyle'

module.exports = TypographyStyle
{'fraction_non_alphanumeric': 0.11007268951194185, 'fraction_numerical': 0.0, 'mean_word_length': 3.5046728971962615, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3624524', 'n_tokens_mistral': 287, 'n_tokens_neox': 291, 'n_words': 54}