<commit_before>import React, {PropTypes} from 'react'

const Day = (props) => {
  return (
    <div style={
      {flex: 1, border: '2px solid black', borderRadius: '5px'}}
      onClick={props.onClick}>
      {props.day}
    </div>
  )
}

Day.propTypes = {
  day: PropTypes.number.isRequired,
  onClick: PropTypes.func.isRequired
}

export default Day<commit_msg>Day's now show the entries from users<commit_after>import React, {PropTypes} from 'react'

const Day = (props) => {
  return (
    <div style={
      {flex: 1, border: '2px solid black', borderRadius: '5px', padding: '5px'}}
      onClick={props.onClick}>
      <span>
        {props.day}
      </span>
      {props.entries.map((entry) => {
        return (
          <p key={entry.name} style={{color: entry.color}}> 
            <b >{entry.name + ' '}</b>
            <i style={{opacity: '0.7'}}>{entry.content}</i>
          </p>)
      })}
    </div>
  )
}

Day.propTypes = {
  day: PropTypes.number.isRequired,
  onClick: PropTypes.func.isRequired,
  entries: PropTypes.arrayOf(PropTypes.shape({
    name: PropTypes.string.isRequired,
    content: PropTypes.string.isRequired,
    color: PropTypes.string.isRequired
  }))
}

export default Day
{'fraction_non_alphanumeric': 0.16254125412541254, 'fraction_numerical': 0.007425742574257425, 'mean_word_length': 2.802507836990596, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 18, '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': '2326558', 'n_tokens_mistral': 408, 'n_tokens_neox': 415, 'n_words': 90}