"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=TimePickerButton;var _react=require("react"),React=_interopRequireWildcard(_react),_classnames2=require("classnames"),_classnames3=_interopRequireDefault(_classnames2);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 TimePickerButton(e){var t=void 0,r=e.prefixCls,i=e.locale,a=e.showTimePicker,l=e.onOpenTimePicker,n=e.onCloseTimePicker,c=e.timePickerDisabled,s=(0,_classnames3.default)(((t={})[r+"-time-picker-btn"]=!0,t[r+"-time-picker-btn-disabled"]=c,t)),o=null;return c||(o=a?n:l),React.createElement("a",{className:s,role:"button",onClick:o},a?i.dateSelect:i.timeSelect)}module.exports=exports.default;