<commit_before>import React, { PropTypes } from 'react';
import { PersianNumber } from 'react-persian';

export default class Heading extends React.Component {
  static propTypes = {
    month: PropTypes.object.isRequired,
    onNext: PropTypes.func.isRequired,
    onPrev: PropTypes.func.isRequired,
    prevMonthElement: PropTypes.element.isRequired,
    nextMonthElement: PropTypes.element.isRequired
  };

  render() {
    const { month, onPrev, onNext, prevMonthElement, nextMonthElement } = this.props;

    return (<div className="heading">
      <PersianNumber>{month.format('jMMMM jYYYY')}</PersianNumber>
      <button className="prev-month" onClick={onPrev}>{prevMonthElement}</button>
      <button className="next-month" onClick={onNext}>{nextMonthElement}</button>
    </div>);
  }
}<commit_msg>fix: Fix an issue with navigation button types.<commit_after>import React, { PropTypes } from 'react';
import { PersianNumber } from 'react-persian';

export default class Heading extends React.Component {
  static propTypes = {
    month: PropTypes.object.isRequired,
    onNext: PropTypes.func.isRequired,
    onPrev: PropTypes.func.isRequired,
    prevMonthElement: PropTypes.element.isRequired,
    nextMonthElement: PropTypes.element.isRequired
  };

  render() {
    const { month, onPrev, onNext, prevMonthElement, nextMonthElement } = this.props;

    return (<div className="heading">
      <PersianNumber>{month.format('jMMMM jYYYY')}</PersianNumber>
      <button type="button" className="prev-month" onClick={onPrev}>{prevMonthElement}</button>
      <button type="button" className="next-month" onClick={onNext}>{nextMonthElement}</button>
    </div>);
  }
}
{'fraction_non_alphanumeric': 0.12976190476190477, 'fraction_numerical': 0.0, 'mean_word_length': 4.737201365187714, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5954083', 'n_tokens_mistral': 483, 'n_tokens_neox': 489, 'n_words': 103}