content: import React from 'react';
  import { string, bool, func } from 'prop-types';
  import classNames from 'classnames';
  
  const FormRadio = ({
    name,
    value,
    isChecked,
    onChange,
    children,
    className,
    ...rest
  }) => {
    return (
      <label className={classNames('form-radio', className)} {...rest}>
        <input
          type="radio"
          value={value}
          name={name}
          checked={isChecked}
          onChange={onChange}
        />
        <i className="form-icon" />
        {children}
      </label>
    );
  };
  
  /**
   * FormRadio property types.
   */
  FormRadio.propTypes = {
    name: string,
    value: string,
    onChange: func,
    isChecked: bool,
    className: string
  };
  
  /**
   * FormRadio default properties.
   */
  FormRadio.defaultProps = {
    isChecked: false
  };
  
  export default FormRadio;
  