'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var TextArea = _styledComponents2.default.textarea.withConfig({
  displayName: 'TextArea__TextArea'
})(['background: ', ';color: ', ';border: ', ';font-size: ', ';font-weight: ', ';font-family: ', ';padding: ', ';letter-spacing: 0.02em;box-shadow: none;transition: all 0.2s ease;line-height: ', ';outline: none;width: 100%;min-height: 100px;'], function (_ref) {
  var theme = _ref.theme;
  return theme.textarea.bg;
}, function (_ref2) {
  var theme = _ref2.theme;
  return theme.textarea.fg;
}, function (_ref3) {
  var theme = _ref3.theme;
  return theme.textarea.border;
}, function (_ref4) {
  var theme = _ref4.theme;
  return theme.textarea.fontSize;
}, function (_ref5) {
  var theme = _ref5.theme;
  return theme.textarea.fontWeight;
}, function (_ref6) {
  var theme = _ref6.theme;
  return theme.textarea.fontFamily;
}, function (_ref7) {
  var theme = _ref7.theme;
  return theme.textarea.padding;
}, function (_ref8) {
  var theme = _ref8.theme;
  return theme.textarea.lineHeight;
});

TextArea.usage = '\n# TextArea\n\nAn input component that renders a large field for entering long text.\n\n```\n<TextArea value="hi" required />\n```\n';

exports.default = TextArea;