"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _classCallCheck2=require("babel-runtime/helpers/classCallCheck"),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=require("babel-runtime/helpers/createClass"),_createClass3=_interopRequireDefault(_createClass2),_possibleConstructorReturn2=require("babel-runtime/helpers/possibleConstructorReturn"),_possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2),_inherits2=require("babel-runtime/helpers/inherits"),_inherits3=_interopRequireDefault(_inherits2),_react=require("react"),React=_interopRequireWildcard(_react),_button=require("../button"),_button2=_interopRequireDefault(_button);function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function noop(){}var Operation=function(e){function t(){return(0,_classCallCheck3.default)(this,t),(0,_possibleConstructorReturn3.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,_inherits3.default)(t,e),(0,_createClass3.default)(t,[{key:"render",value:function(){var e=this.props,t=e.moveToLeft,r=void 0===t?noop:t,i=e.moveToRight,o=void 0===i?noop:i,l=e.leftArrowText,a=void 0===l?"":l,n=e.rightArrowText,u=void 0===n?"":n,s=e.leftActive,c=e.rightActive,p=e.className;return React.createElement("div",{className:p},React.createElement(_button2.default,{type:"primary",size:"mini",disabled:!s,onClick:r,icon:"left"},a),React.createElement(_button2.default,{type:"primary",size:"mini",disabled:!c,onClick:o,icon:"right"},u))}}]),t}(React.Component);exports.default=Operation,module.exports=exports.default;