code: function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(1);var _propTypes2=_interopRequireDefault(_propTypes);var _Css=__webpack_require__(2);var _Css2=_interopRequireDefault(_Css);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var TabButton=function TabButton(_ref){var buttonRef=_ref.buttonRef,cssMap=_ref.cssMap,className=_ref.className,isActive=_ref.isActive,isDisabled=_ref.isDisabled,label=_ref.label,onClick=_ref.onClick,subtitle=_ref.subtitle,tabIndex=_ref.tabIndex;return _react2.default.createElement(_Css2.default,{cssMap:cssMap,cssProps:{active:isActive}},_react2.default.createElement('button',{ref:buttonRef,className:className,role:'tab',value:String(tabIndex),disabled:isDisabled,onClick:onClick},_react2.default.createElement('div',{className:cssMap.content},_react2.default.createElement('div',{className:cssMap.label},label,subtitle&&_react2.default.createElement('span',{className:cssMap.subtitle},subtitle)))));};TabButton.propTypes={/**
      *  Label text
      */label:_propTypes2.default.string,/**
       * Subtitle text
       */subtitle:_propTypes2.default.string,/**
      *  Index of this tab
      */tabIndex:_propTypes2.default.number,/**
      *  Display as active
      */isActive:_propTypes2.default.bool,/**
      *  Display as Disabled
      */isDisabled:_propTypes2.default.bool,/**
      *  onClick callback function: ( e ) => { ... }
      */onClick:_propTypes2.default.func,/**
       * Callback that receives the native <button>: ( ref ) => { ... }
       */buttonRef:_propTypes2.default.func};TabButton.defaultProps={tabIndex:0,isActive:false,cssMap:__webpack_require__(168)};exports.default=TabButton;/***/}
docs: /* 43