<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import AntButton from 'antd/lib/button';
import './style/Button.css';

/**
 * General component description in JSDoc format. Markdown is *supported*.
 */
class Button extends React.Component {

    static propTypes = {
        type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'danger', 'default']),
        htmlType: PropTypes.oneOf(['button', 'submit', 'reset']),
        icon: PropTypes.string,
        shape: PropTypes.oneOf(['circle']),
        size: PropTypes.oneOf(['small', 'large']),
        /** boolean | { delay: number } */
        loading: PropTypes.oneOfType([
            PropTypes.bool,
            PropTypes.object,
        ]),
        onClick: PropTypes.func,
        ghost: PropTypes.bool
    };

    static defaultProps = {
        type: 'default',
        htmlType: 'button',
        size: 'default',
        loading: false,
        ghost: false,
    };

    render() {
        return (
            <AntButton {...this.props} >
                {this.props.children}
            </AntButton>
        );
    }
}

export default Button;<commit_msg>- Button 컴포넌트의 누락된 props 항목 추가<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import AntButton from 'antd/lib/button';
import './style/Button.css';

/**
 * General component description in JSDoc format. Markdown is *supported*.
 */
class Button extends React.Component {

    static propTypes = {
        type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'danger', 'default']),
        htmlType: PropTypes.oneOf(['button', 'submit', 'reset']),
        icon: PropTypes.string,
        shape: PropTypes.oneOf(['circle']),
        size: PropTypes.oneOf(['small', 'default', 'large']),
        /** boolean | { delay: number } */
        loading: PropTypes.oneOfType([
            PropTypes.bool,
            PropTypes.object,
        ]),
        onClick: PropTypes.func,
        ghost: PropTypes.bool
    };

    static defaultProps = {
        type: 'default',
        htmlType: 'button',
        size: 'default',
        loading: false,
        ghost: false,
    };

    render() {
        return (
            <AntButton {...this.props} >
                {this.props.children}
            </AntButton>
        );
    }
}

export default Button;
{'fraction_non_alphanumeric': 0.14556416881998277, 'fraction_numerical': 0.0, 'mean_word_length': 2.1778385772913817, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7420815', 'n_tokens_mistral': 660, 'n_tokens_neox': 681, 'n_words': 162}