"use strict";

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

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

var _Select = _interopRequireDefault(require("./Select"));

var _SelectItem = _interopRequireDefault(require("../SelectItem"));

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

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

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

var SelectDefault = function SelectDefault(args) {
  return /*#__PURE__*/_react.default.createElement(_Select.default, args, /*#__PURE__*/_react.default.createElement(_SelectItem.default, {
    value: "option-1",
    text: "Option 1"
  }), /*#__PURE__*/_react.default.createElement(_SelectItem.default, {
    value: "option-2",
    text: "Option 2"
  }));
};

exports.SelectDefault = SelectDefault;
SelectDefault.args = {
  labelText: 'Label text',
  helperText: 'This is a helper text'
};
var hello = "\nImagine this to be a `much` longer block of text that spans\nseveral lines.\n";
SelectDefault.story = {
  parameters: {
    docs: {
      storyDescription: hello
    }
  }
};