<commit_before>import styles from '../style.postcss';

import React from 'react';
import classnames from 'classnames';
import Button from 'components/Button';
import PropTypes from 'prop-types';
import testClass from 'domain/testClass';

const SaveBarButton = ({ label, isPrimary, disabled, onClick, linkHref, linkTo }) => {
  const className = classnames(styles.SaveBar_button, testClass(`${label}-btn`));
  return <Button autoWidth
      type={isPrimary ? Button.Type.primaryInverse : Button.Type.defaultInverse}<commit_msg>fix the issue that <NAME> mention, a 'foo bar' text problem<commit_after>import styles from '../style.postcss';

import React from 'react';
import classnames from 'classnames';
import Button from 'components/Button';
import PropTypes from 'prop-types';
import testClass from 'domain/testClass';

const SaveBarButton = ({ label, isPrimary, disabled, onClick, linkHref, linkTo }) => {
  const className = classnames(styles.SaveBar_button,
    testClass(`${label.replace(/\s+/g, '')}-btn`));
  return <Button autoWidth
      type={isPrimary ? Button.Type.primaryInverse : Button.Type.defaultInverse}
{'fraction_non_alphanumeric': 0.12923351158645277, 'fraction_numerical': 0.0, 'mean_word_length': 5.684523809523809, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1786528', 'n_tokens_mistral': 314, 'n_tokens_neox': 314, 'n_words': 94}