<commit_before>import React, { Component, PropTypes, View } from 'react-native';
import { THEME_NAME } from './config';

export default class Divider extends Component {

    static propTypes = {
        inset: PropTypes.bool,
        theme: PropTypes.oneOf(THEME_NAME),
        style: PropTypes.object
    };

    static defaultProps = {
        inset: false,
        theme: 'light'
    };

    render() {
        const { inset, theme, style } = this.props;

        return (
            <View
                style={[
                    styles.divider,
                    style,
                    inset && { marginLeft: 72 }, {
                        backgroundColor: theme === 'light' ? 'rgba(0,0,0,.12)' : 'rgba(255,255,255,.12)'
                    },
                ]}
            />
        );
    }
}

const styles = {
    divider: {
        height: 1
    }
};<commit_msg>moved the order styles are applied so they can be overridden. we are using this on iOS and don't get the native android text input underlines. this allows us to set the color accordingly<commit_after>import React, { Component, PropTypes, View } from 'react-native';
import { THEME_NAME } from './config';

export default class Divider extends Component {

    static propTypes = {
        inset: PropTypes.bool,
        theme: PropTypes.oneOf(THEME_NAME),
        style: PropTypes.object
    };

    static defaultProps = {
        inset: false,
        theme: 'light'
    };

    render() {
        const { inset, theme, style } = this.props;

        return (
            <View
                style={[
                    styles.divider,
                    inset && { marginLeft: 72 }, {
                        backgroundColor: theme === 'light' ? 'rgba(0,0,0,.12)' : 'rgba(255,255,255,.12)'
                    },
                    style
                ]}
            />
        );
    }
}

const styles = {
    divider: {
        height: 1
    }
};
{'fraction_non_alphanumeric': 0.11419753086419752, 'fraction_numerical': 0.01954732510288066, 'mean_word_length': 1.5129198966408268, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6908912', 'n_tokens_mistral': 571, 'n_tokens_neox': 522, 'n_words': 143}