2017-08-19 10:41:08 +09:00
|
|
|
import React from 'react';
|
2019-01-30 17:21:20 +01:00
|
|
|
import Form from 'react-bootstrap/Form';
|
2019-01-27 09:48:45 +09:00
|
|
|
import { Components, registerComponent } from 'meteor/vulcan:core';
|
2017-08-19 10:41:08 +09:00
|
|
|
|
2019-01-27 09:48:45 +09:00
|
|
|
const RadioGroupComponent = ({ refFunction, inputProperties, itemProperties }) => (
|
|
|
|
<Components.FormItem {...inputProperties} {...itemProperties}>
|
|
|
|
<Form.Check {...inputProperties} ref={refFunction} />
|
|
|
|
</Components.FormItem>
|
|
|
|
);
|
2017-08-19 10:41:08 +09:00
|
|
|
|
2019-01-27 09:48:45 +09:00
|
|
|
registerComponent('FormComponentRadioGroup', RadioGroupComponent);
|