mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
8 lines
No EOL
342 B
JavaScript
8 lines
No EOL
342 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { Checkbox } from 'formsy-react-components';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const CheckboxComponent = ({refFunction, ...properties}) => <Checkbox {...properties} ref={refFunction} />
|
|
|
|
registerComponent('FormComponentCheckbox', CheckboxComponent); |