mirror of
https://github.com/vale981/Vulcan
synced 2025-03-11 13:06:41 -04:00
12 lines
439 B
JavaScript
12 lines
439 B
JavaScript
import React from 'react';
|
|
import { Form } from 'react-bootstrap';
|
|
import { Components, registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const Default = ({ refFunction, inputProperties }) => (
|
|
<Components.FormItem {...inputProperties}>
|
|
<Form.Control {...inputProperties} ref={refFunction} type="text" />
|
|
</Components.FormItem>
|
|
);
|
|
|
|
registerComponent('FormComponentDefault', Default);
|
|
registerComponent('FormComponentText', Default);
|