Vulcan/packages/vulcan-forms/lib/components/bootstrap/Url.jsx
2018-01-25 13:36:20 -06:00

7 lines
No EOL
296 B
JavaScript

import React from 'react';
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);