UNPKG

hbp-quickfire

Version:

A library of useful user-interface components built with React on top of React Bootstrap and MobX

22 lines (19 loc) 2.37 kB
var _extends = Object.assign || function (target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i];for (var key in source) {if (Object.prototype.hasOwnProperty.call(source, key)) {target[key] = source[key];}}}return target;}; /* * Copyright (c) Human Brain Project * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from "react"; import InputTextField from "./InputTextField"; /** * Textarea input field. * Field options are the same as for the InputTextField * @class TextAreaField * @memberof FormFields * @namespace TextAreaField */ var TextAreaField = function TextAreaField(props) { return React.createElement(InputTextField, _extends({}, props, { componentClass: "textarea" })); }; export default TextAreaField;