import*as React from"react";import classnames from"classnames";export default function TimePickerButton(e){var t=void 0,i=e.prefixCls,a=e.locale,c=e.showTimePicker,r=e.onOpenTimePicker,l=e.onCloseTimePicker,m=e.timePickerDisabled,s=classnames(((t={})[i+"-time-picker-btn"]=!0,t[i+"-time-picker-btn-disabled"]=m,t)),n=null;return m||(n=c?l:r),React.createElement("a",{className:s,role:"button",onClick:n},c?a.dateSelect:a.timeSelect)};