<commit_before>/* @flow */
'use strict';

import React from 'react';
import { ActivityIndicator } from 'react-native';
import NativeBaseComponent from '../Base/NativeBaseComponent';
import computeProps from '../../Utils/computeProps';


export default class SpinnerNB extends NativeBaseComponent {

    prepareRootProps() {

        var type = {
            height: 80
        }

        var defaultProps = {
            style: type
        }

        return computeProps(this.props, defaultProps);

    }


    render() {
        return(
            <ActivityIndicator ref={c => this._root = c} {...this.prepareRootProps()} color={this.props.color ? this.props.color : this.props.inverse ?
                this.getTheme().inverseSpinnerColor :
                this.getTheme().defaultSpinnerColor}
                size={this.props.size ? this.props.size : 'large' } />
        );
    }<commit_msg>Update Spinner.js<commit_after>/* @flow */
'use strict';

import React from 'react';
import { ActivityIndicator } from 'react-native';
import NativeBaseComponent from '../Base/NativeBaseComponent';
import computeProps from '../../Utils/computeProps';


export default class SpinnerNB extends NativeBaseComponent {

    prepareRootProps() {

        var type = {
            height: 80,
            width: 80
        }

        var defaultProps = {
            style: type
        }

        return computeProps(this.props, defaultProps);

    }


    render() {
        return(
            <ActivityIndicator ref={c => this._root = c} {...this.prepareRootProps()} color={this.props.color ? this.props.color : this.props.inverse ?
                this.getTheme().inverseSpinnerColor :
                this.getTheme().defaultSpinnerColor}
                size={this.props.size ? this.props.size : 'large' } />
        );
    }
{'fraction_non_alphanumeric': 0.12465678198791873, 'fraction_numerical': 0.0032948929159802307, 'mean_word_length': 2.1797556719022686, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4095147', 'n_tokens_mistral': 503, 'n_tokens_neox': 475, 'n_words': 109}