import React from 'react';
import markdown from './README.mdx';
import TextInput from '.';
export default {
  title: 'Components/Forms/TextInput',
  component: TextInput,
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: markdown
  }
};
export var Regular = function Regular(args) {
  return /*#__PURE__*/React.createElement(TextInput, args);
};
Regular.args = {
  type: "text",
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText',
  placeholder: 'placeholder'
};
export var PasswordInput = function PasswordInput(args) {
  return /*#__PURE__*/React.createElement(TextInput, args);
};
PasswordInput.args = {
  type: "password",
  name: 'password',
  labelText: 'The labelText'
};
export var withError = function withError(args) {
  return /*#__PURE__*/React.createElement(TextInput, args);
};
withError.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'Enter password',
  invalid: {
    message: 'Please enter your first name'
  }
};
export var withDisabled = function withDisabled(args) {
  return /*#__PURE__*/React.createElement(TextInput, args);
};
withDisabled.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'Disabled labelText',
  disabled: true
};