mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
11 lines
428 B
JavaScript
11 lines
428 B
JavaScript
import React from 'react';
|
|
import { Form } from 'react-bootstrap';
|
|
import { Components, registerComponent } from 'meteor/vulcan:core';
|
|
|
|
const TextareaComponent = ({ refFunction, inputProperties, ...properties }) => (
|
|
<Components.FormItem {...inputProperties}>
|
|
<Form.Control as="textarea" ref={refFunction} {...inputProperties} />
|
|
</Components.FormItem>
|
|
);
|
|
|
|
registerComponent('FormComponentTextarea', TextareaComponent);
|