<commit_before>import * as React from 'react';

interface SubmitButtonProps {
  submitting: boolean;
  label: string;
  disabled?: boolean;
}

export const SubmitButton = (props: SubmitButtonProps) => (
  <button
    type="submit"
    className="btn btn-primary"
    disabled={props.submitting || props.disabled}>
    {props.submitting && (
      <i className="fa fa-spinner fa-spin m-r-xs"/>
    )}
    {props.label}
  </button>
);<commit_msg>Fix tests.<commit_after>import * as React from 'react';

interface SubmitButtonProps {
  submitting: boolean;
  label: string;
  disabled?: boolean;
}

export const SubmitButton = (props: SubmitButtonProps) => (
  <button
    type="submit"
    className="btn btn-primary"
    disabled={props.submitting || props.disabled === true}>
    {props.submitting && (
      <i className="fa fa-spinner fa-spin m-r-xs"/>
    )}
    {props.label}
  </button>
);
{'fraction_non_alphanumeric': 0.1476510067114094, 'fraction_numerical': 0.0, 'mean_word_length': 3.58974358974359, 'pattern_counts': {'":': 0, '<': 9, '<?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': '4326554', 'n_tokens_mistral': 292, 'n_tokens_neox': 285, 'n_words': 66}