"use strict";

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

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

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

var _utils = require("../../../.storybook/utils");

var _ValidationText = _interopRequireDefault(require("./ValidationText"));

var _default = {
  component: _ValidationText.default,
  title: (0, _utils.addStoryInGroup)(_utils.LOW_LEVEL_BLOCKS, 'Form elements/ValidationText'),
  argTypes: {
    success: {
      control: {
        type: 'text'
      },
      defaultValue: 'Success validation text'
    },
    error: {
      control: {
        type: 'text'
      }
    },
    warning: {
      control: {
        type: 'text'
      }
    },
    help: {
      control: {
        type: 'text'
      }
    }
  }
};
exports.default = _default;

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

exports.DefaultStory = DefaultStory;

var PossibleValidationTexts = function PossibleValidationTexts() {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ValidationText.default, {
    success: "Success validation text"
  }), /*#__PURE__*/_react.default.createElement(_ValidationText.default, {
    error: "Error validation text"
  }), /*#__PURE__*/_react.default.createElement(_ValidationText.default, {
    warning: "Warning validation text"
  }), /*#__PURE__*/_react.default.createElement(_ValidationText.default, {
    help: "Help validation text"
  }));
};

exports.PossibleValidationTexts = PossibleValidationTexts;