mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00

- Added new `FormComponent.isCustomInput` method - Pulled `renderComponent` up from `FormComponentInner` to `FormComponent` - Pulled some input-type-specific logic up when it was universal, or pushed it down when it should be handled by each ui library
8 lines
303 B
JavaScript
8 lines
303 B
JavaScript
import React from 'react';
|
|
import { Input } from 'formsy-react-components';
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const Default = ({refFunction, inputProperties}) =>
|
|
<Input {...inputProperties} ref={refFunction} type="text" />;
|
|
|
|
registerComponent('FormComponentDefault', Default);
|