mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
8 lines
No EOL
332 B
JavaScript
8 lines
No EOL
332 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { Input } from 'formsy-react-components';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const UrlComponent = ({refFunction, ...properties}) => <Input ref={refFunction} {...properties} type="url" />
|
|
|
|
registerComponent('FormComponentUrl', UrlComponent); |