"use strict";

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

var _core = require("@emotion/core");

var _react = require("@storybook/react");

var _addonKnobs = require("@storybook/addon-knobs");

var _Root = _interopRequireDefault(require("../../../Root"));

var _InputLabelLight = require("./InputLabelLight");

(0, _react.storiesOf)('InputLabelLight', module).addDecorator(_addonKnobs.withKnobs).add('All (knobs)', function () {
  var knobs = {
    error: (0, _addonKnobs.text)('error', 'Something went wrong')
  };
  return (0, _core.jsx)(_Root["default"], null, (0, _core.jsx)(_InputLabelLight.InputLabelLight, knobs, "Awesome Label"));
}).add('Default', function () {
  return (0, _core.jsx)(_Root["default"], null, (0, _core.jsx)(_InputLabelLight.InputLabelLight, null, "Awesome Label"));
}).add('Has error', function () {
  return (0, _core.jsx)(_Root["default"], null, (0, _core.jsx)(_InputLabelLight.InputLabelLight, {
    error: "Something went wrong"
  }, "Awesome Label"));
});