import React from 'react';
import MD from 'react-markdown';
import { action } from '@storybook/addon-actions';
import docs from './IconButton.md';
import { Typography, Icon, Button } from '../../../..';
export default {
  title: 'Molecules / Button / Button.Icon',
  parameters: {
    component: Button
  }
};
export var Documentation = function Documentation() {
  return React.createElement(Typography, {
    type: "primary"
  }, React.createElement(MD, null, docs));
};
export var DefaultUsage = {
  render: function render() {
    return React.createElement(Button.Icon, {
      onClick: action('clicked')
    }, React.createElement(Icon.Attachment16, null));
  },
  name: 'Default usage'
};