"use strict";

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

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ReadOnly = exports.Correctness = exports.UserInput = exports.Default = exports.default = void 0;

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

var _core = require("@material-ui/core");

var _TestInputText = _interopRequireDefault(require("../../components/elements/TestInputText"));

var _default = {
  title: 'Elements/TestInputText',
  component: _TestInputText.default
};
exports.default = _default;

var Default = function Default() {
  return /*#__PURE__*/_react.default.createElement(_TestInputText.default, null);
};

exports.Default = Default;

var UserInput = function UserInput() {
  return /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    userInput: "input"
  });
};

exports.UserInput = UserInput;

var Correctness = function Correctness() {
  return /*#__PURE__*/_react.default.createElement(_core.Grid, {
    container: true,
    spacing: 1
  }, /*#__PURE__*/_react.default.createElement(_core.Grid, {
    item: true
  }, /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    correctness: "correct",
    userInput: "correct"
  })), /*#__PURE__*/_react.default.createElement(_core.Grid, {
    item: true
  }, /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    correctness: "incorrect",
    userInput: "incorrect"
  })), /*#__PURE__*/_react.default.createElement(_core.Grid, {
    item: true
  }, /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    correctness: "correct"
  })), /*#__PURE__*/_react.default.createElement(_core.Grid, {
    item: true
  }, /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    correctness: "incorrect"
  })));
};

exports.Correctness = Correctness;

var ReadOnly = function ReadOnly() {
  return /*#__PURE__*/_react.default.createElement(_core.Grid, {
    container: true,
    spacing: 1
  }, /*#__PURE__*/_react.default.createElement(_core.Grid, {
    item: true
  }, /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    correctness: "correct",
    readOnly: true,
    userInput: "correct"
  })), /*#__PURE__*/_react.default.createElement(_core.Grid, {
    item: true
  }, /*#__PURE__*/_react.default.createElement(_TestInputText.default, {
    correctness: "incorrect",
    readOnly: true,
    userInput: "incorrect"
  })));
};

exports.ReadOnly = ReadOnly;