<commit_before>import React, { PropTypes } from 'react';
import SelectInput from './SelectInput';

const NullableBooleanInput = ({ input, meta: { touched, error }, label }) => (
    <SelectInput
        input={input}
        label={label}
        choices={[
            { value: null, label: '' },
            { value: false, label: 'No' },
            { value: true, label: 'Yes' },
        ]}
        optionText="label"
        optionValue="value"
        errorText={touched && error}
    />
);

NullableBooleanInput.propTypes = {
    includesLabel: PropTypes.bool.isRequired,
    input: PropTypes.object,
    label: PropTypes.string,
    meta: PropTypes.object,
};

BooleanInput.defaultProps = {
    includesLabel: true,
};

export default NullableBooleanInput;<commit_msg>Typo fix s/BooleanInput/NullableBooleanInput/<commit_after>import React, { PropTypes } from 'react';
import SelectInput from './SelectInput';

const NullableBooleanInput = ({ input, meta: { touched, error }, label }) => (
    <SelectInput
        input={input}
        label={label}
        choices={[
            { value: null, label: '' },
            { value: false, label: 'No' },
            { value: true, label: 'Yes' },
        ]}
        optionText="label"
        optionValue="value"
        errorText={touched && error}
    />
);

NullableBooleanInput.propTypes = {
    includesLabel: PropTypes.bool.isRequired,
    input: PropTypes.object,
    label: PropTypes.string,
    meta: PropTypes.object,
};

NullableBooleanInput.defaultProps = {
    includesLabel: true,
};

export default NullableBooleanInput;
{'fraction_non_alphanumeric': 0.13379396984924624, 'fraction_numerical': 0.0, 'mean_word_length': 2.7570754716981134, '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': '2217493', 'n_tokens_mistral': 447, 'n_tokens_neox': 453, 'n_words': 101}