Vulcan/packages/vulcan-forms/lib/components/bootstrap/Url.jsx
2018-03-26 17:50:03 +09:00

7 lines
No EOL
318 B
JavaScript

import React from 'react';
import { Input } from 'formsy-react-components';
import { registerComponent } from 'meteor/vulcan:core';
const UrlComponent = ({refFunction, inputProperties, ...properties}) => <Input ref={refFunction} {...inputProperties} type="url" />
registerComponent('FormComponentUrl', UrlComponent);