"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.withError = exports.Regular = exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _README = _interopRequireDefault(require("./README.mdx"));

var _ = _interopRequireDefault(require("."));

var _default = {
  title: 'Components/Forms/TextArea',
  component: _.default,
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: _README.default
  }
};
exports.default = _default;

var Regular = function Regular(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.Regular = Regular;
var description = "\nYou can customize the content by using `BannerNavigation`.\n";
Regular.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText',
  cols: 50
};

var withError = function withError(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.withError = withError;
withError.story = {
  parameters: {
    docs: {
      storyDescription: description
    }
  }
};
withError.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText',
  invalid: {
    message: 'Please enter your first name'
  }
};