<commit_before>import PropTypes                 from 'prop-types';
import React                     from 'react';
import Button                    from '../button.jsx';
import { IconMinus, IconPlus }   from '../../../../Assets/Common';

const IncrementButtons = ({
    decrementValue,
    incrementValue,
    max_is_disabled,
    min_is_disabled,
}) => (
    <React.Fragment>
        <Button
            className={'input-wrapper__button input-wrapper__button--increment'}
            is_disabled={max_is_disabled}
            onClick={incrementValue}
            tabIndex='-1'
        >
            <IconPlus className={'input-wrapper__icon input-wrapper__icon--plus' } is_disabled={max_is_disabled} />
        </Button>
        <Button
            className={'input-wrapper__button input-wrapper__button--decrement'}
            is_disabled={min_is_disabled}
            onClick={decrementValue}
            tabIndex='-1'
        >
            <IconMinus className={'input-wrapper__icon input-wrapper__icon--minus'} is_disabled={min_is_disabled} />
        </Button>
    </React.Fragment>
);

IncrementButtons.propTypes = {
    decrementValue : PropTypes.func,
    incrementValue : PropTypes.func,
    max_is_disabled: PropTypes.bool,
    min_is_disabled: PropTypes.bool,
};

export default IncrementButtons;<commit_msg>Changed implementation of `IconPlus` and `IconMinus` to use `Icon`<commit_after>import PropTypes                 from 'prop-types';
import React                     from 'react';
import {
    Icon,
    IconMinus,
    IconPlus }                   from 'Assets/Common';
import Button                    from '../button.jsx';

const IncrementButtons = ({
    decrementValue,
    incrementValue,
    max_is_disabled,
    min_is_disabled,
}) => (
    <React.Fragment>
        <Button
            className={'input-wrapper__button input-wrapper__button--increment'}
            is_disabled={max_is_disabled}
            onClick={incrementValue}
            tabIndex='-1'
        >
            <Icon icon={IconPlus} className={'input-wrapper__icon input-wrapper__icon--plus' } is_disabled={max_is_disabled} />
        </Button>
        <Button
            className={'input-wrapper__button input-wrapper__button--decrement'}
            is_disabled={min_is_disabled}
            onClick={decrementValue}
            tabIndex='-1'
        >
            <Icon icon={IconMinus} className={'input-wrapper__icon input-wrapper__icon--minus'} is_disabled={min_is_disabled} />
        </Button>
    </React.Fragment>
);

IncrementButtons.propTypes = {
    decrementValue : PropTypes.func,
    incrementValue : PropTypes.func,
    max_is_disabled: PropTypes.bool,
    min_is_disabled: PropTypes.bool,
};

export default IncrementButtons;
{'fraction_non_alphanumeric': 0.11192125410134889, 'fraction_numerical': 0.0014582573824279985, 'mean_word_length': 2.3793103448275863, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '7662174', 'n_tokens_mistral': 744, 'n_tokens_neox': 774, 'n_words': 128}