<commit_before>import React from 'react';
import PropTypes from 'prop-types';

import { classnames } from '../../helpers/component';

const Radio = ({ id, children, className, ...rest }) => {
    return (
        <label htmlFor={id} className={classnames(['inline-flex', className])}>
            <input id={id} type="radio" className="pm-radio" {...rest} />
            <span className="pm-radio-fakeradio" />
            {children}
        </label>
    );
};

Radio.propTypes = {
    id: PropTypes.string,
    className: PropTypes.string,<commit_msg>Fix card display (#231)<commit_after>import React from 'react';
import PropTypes from 'prop-types';

const Radio = ({ id, children, className = 'inline-flex', ...rest }) => {
    return (
        <label htmlFor={id} className={className}>
            <input id={id} type="radio" className="pm-radio" {...rest} />
            <span className="pm-radio-fakeradio" />
            {children}
        </label>
    );
};

Radio.propTypes = {
    id: PropTypes.string,
    className: PropTypes.string,
{'fraction_non_alphanumeric': 0.17304015296367112, 'fraction_numerical': 0.0028680688336520078, 'mean_word_length': 2.7259786476868326, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '5554447', 'n_tokens_mistral': 303, 'n_tokens_neox': 309, 'n_words': 72}