"use strict";

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

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

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

var _ = require(".");

var _2 = require("..");

var __jsx = _react2["default"].createElement;
var stories = (0, _react.storiesOf)('ToggleButtonGroup', module);
stories.addDecorator(function (story) {
  return __jsx(_2.Box, {
    maxWidth: "lg",
    mt: "40px",
    mx: "auto"
  }, story());
});
stories.add('Default', function () {
  return __jsx(_.ToggleGroup, {
    defaultValue: "rad1",
    onChange: function onChange(val) {
      return console.log(val);
    },
    isInline: true
  }, __jsx(_.ToggleButton, {
    value: "rad1"
  }, "Toggle 1"), __jsx(_.ToggleButton, {
    value: "rad2"
  }, "Toggle 2"), __jsx(_.ToggleButton, {
    value: "rad3"
  }, "Toggle 3"));
});
//# sourceMappingURL=examples.js.map