'use strict';

var clsx = require('clsx');
var React = require('react');
var _common = require('./_common.js');
var contexts = require('./contexts.js');
var jsxRuntime = require('react/jsx-runtime');

const TextArea = /*#__PURE__*/React.forwardRef(function TextArea({
  className,
  ...restProps
}, reference) {
  const inputAttributes = contexts.useInputAttributes();
  return /*#__PURE__*/jsxRuntime.jsx("textarea", {
    ref: reference,
    className: clsx.clsx(className, _common.inputClassNameBase(), 'np-text-area'),
    ...inputAttributes,
    ...restProps
  });
});

exports.TextArea = TextArea;
//# sourceMappingURL=TextArea.js.map
