<commit_before>const React = require('react');

const Spin = require('./Spin');

const StyleConstants = require('../constants/Style');

const Loader = React.createClass({

  propTypes: {
	  color: React.PropTypes.string,
	  isLoading: React.PropTypes.bool,
	  isRelative: React.PropTypes.bool,
	  isSmall: React.PropTypes.bool
  },

  getDefaultProps() {
	  return {
		  color: StyleConstants.Colors.PRIMARY,
		  isLoading: false,
		  isRelative: false,
		  isSmall: false,
		  children: 'LOADING...'
	  }
  },


  render () {
    if (this.props.isLoading) {
      const styles = {
        component: {
          backgroundColor: 'rgba(255,255,255,0.9)',
          bottom: 0,<commit_msg>fixed spacing errors<commit_after>const React = require('react');

const Spin = require('./Spin');

const StyleConstants = require('../constants/Style');

const Loader = React.createClass({
  propTypes: {
    color: React.PropTypes.string,
    isLoading: React.PropTypes.bool,
    isRelative: React.PropTypes.bool,
    isSmall: React.PropTypes.bool
  },

  getDefaultProps () {
    return {
      color: StyleConstants.Colors.PRIMARY,
      isLoading: false,
      isRelative: false,
      isSmall: false,
      children: 'LOADING...'
    };
  },


  render () {
    if (this.props.isLoading) {
      const styles = {
        component: {
          backgroundColor: 'rgba(255,255,255,0.9)',
          bottom: 0,
{'fraction_non_alphanumeric': 0.13948497854077252, 'fraction_numerical': 0.017167381974248927, 'mean_word_length': 2.811989100817439, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5291407', 'n_tokens_mistral': 475, 'n_tokens_neox': 434, 'n_words': 87}