"use strict";

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

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

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

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

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

var _index = require("../../index");

var _default = {
  component: _index.Label,
  title: (0, _utils.addStoryInGroup)(_utils.LOW_LEVEL_BLOCKS, 'Form elements/Label')
};
exports.default = _default;

var DefaultStory = function DefaultStory(args) {
  return /*#__PURE__*/_react.default.createElement(_index.Label, (0, _extends2.default)({}, args, {
    htmlFor: "input1"
  }), "Input label", /*#__PURE__*/_react.default.createElement(_index.Input, {
    id: "input1",
    placeholder: "I am the placeholder"
  }));
};

exports.DefaultStory = DefaultStory;
DefaultStory.args = {
  tooltip: 'This is the label tooltip text'
};
DefaultStory.storyName = 'Label + Input';

var SoloLabelStory = function SoloLabelStory(args) {
  return /*#__PURE__*/_react.default.createElement(_index.Label, args, "Label");
};

exports.SoloLabelStory = SoloLabelStory;