import React from 'react';
import Form from 'react-bootstrap/lib/Form';
import { Components, registerComponent } from 'meteor/vulcan:core';

const RadioGroupComponent = ({ refFunction, inputProperties, itemProperties }) => (
  <Components.FormItem {...inputProperties} {...itemProperties}>
    <Form.Check {...inputProperties} ref={refFunction} />
  </Components.FormItem>
);

registerComponent('FormComponentRadioGroup', RadioGroupComponent);
