mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
8 lines
No EOL
344 B
JavaScript
8 lines
No EOL
344 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { Input } from 'formsy-react-components';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const NumberComponent = ({refFunction, ...properties}) => <Input {...properties} ref={refFunction} type="number" />
|
|
|
|
registerComponent('FormComponentNumber', NumberComponent); |