import React from 'react';
import { Variants } from './types';
import { Button as Btn } from 'react-bootstrap';
export var Button = function Button(_ref) {
  var _ref$children = _ref.children,
      children = _ref$children === void 0 ? 'Confirm' : _ref$children,
      _ref$variant = _ref.variant,
      variant = _ref$variant === void 0 ? Variants.PRIMARY : _ref$variant,
      size = _ref.size,
      onClick = _ref.onClick,
      className = _ref.className,
      type = _ref.type,
      disabled = _ref.disabled;
  return React.createElement(Btn, {
    variant: variant,
    size: size,
    onClick: onClick,
    className: className,
    type: type,
    disabled: disabled
  }, children);
};