"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.Documentation = exports.DefaultUsage = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactMarkdown = _interopRequireDefault(require("react-markdown"));
var _addonActions = require("@storybook/addon-actions");
var _IconButton = _interopRequireDefault(require("./IconButton.md"));
var _ = require("../../../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = exports.default = {
  title: 'Molecules / Button / Button.Icon',
  parameters: {
    component: _.Button
  }
};
var Documentation = exports.Documentation = function Documentation() {
  return _react.default.createElement(_.Typography, {
    type: "primary"
  }, _react.default.createElement(_reactMarkdown.default, null, _IconButton.default));
};
var DefaultUsage = exports.DefaultUsage = {
  render: function render() {
    return _react.default.createElement(_.Button.Icon, {
      onClick: (0, _addonActions.action)('clicked')
    }, _react.default.createElement(_.Icon.Attachment16, null));
  },
  name: 'Default usage'
};