import _extends from"babel-runtime/helpers/extends";import _defineProperty from"babel-runtime/helpers/defineProperty";var __rest=this&&this.__rest||function(e,r){var t={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0&&(t[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(s=Object.getOwnPropertySymbols(e);a<s.length;a++)r.indexOf(s[a])<0&&(t[s[a]]=e[s[a]])}return t};import*as React from"react";import classNames from"classnames";var ButtonGroup=function(e){var r=e.prefixCls,t=void 0===r?"dt-btn-group":r,s=e.size,a=e.className,n=__rest(e,["prefixCls","size","className"]),o="";switch(s){case"large":o="lg";break;case"small":o="sm";break;case"mini":o="mini"}var i=classNames(t,_defineProperty({},t+"-"+o,o),a);return React.createElement("div",_extends({},n,{className:i}))};export default ButtonGroup;