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

function SprkSpinner({size, lightness, ...rest}) {
  return (
    <div className={classnames(
      'sprk-c-Spinner',
      'sprk-c-Spinner--circle',
      {'sprk-c-Spinner--large': size === 'large'},
      {'sprk-c-Spinner--dark': lightness === 'dark'}
    )}
   {...rest}>
    </div>
  );
}

SprkSpinner.propTypes = {
  size: PropTypes.oneOf(['small', 'large']),
  lightness: PropTypes.oneOf(['light', 'dark']),
  idString: PropTypes.string
}

SprkSpinner.defaultProps = {
  size: 'small',
  lightness: 'light'
}

export default SprkSpinner;<commit_msg>add additionalClasses prop to SprkSpinner<commit_after>import React from 'react';
import classnames from 'classnames';
import PropTypes from 'prop-types';

function SprkSpinner({size, lightness, additionalClasses, ...rest}) {
  return (
    <div className={classnames(
      'sprk-c-Spinner',
      'sprk-c-Spinner--circle',
      {'sprk-c-Spinner--large': size === 'large'},
      {'sprk-c-Spinner--dark': lightness === 'dark'},
      additionalClasses,
    )}
   {...rest}>
    </div>
  );
}

SprkSpinner.propTypes = {
  size: PropTypes.oneOf(['small', 'large']),
  lightness: PropTypes.oneOf(['light', 'dark']),
  additionalClasses: PropTypes.string,
  idString: PropTypes.string
}

SprkSpinner.defaultProps = {
  size: 'small',
  lightness: 'light'
}

export default SprkSpinner;
{'fraction_non_alphanumeric': 0.17606602475928473, 'fraction_numerical': 0.0, 'mean_word_length': 3.8178807947019866, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2653488', 'n_tokens_mistral': 494, 'n_tokens_neox': 495, 'n_words': 99}