import _extends from"babel-runtime/helpers/extends";import _defineProperty from"babel-runtime/helpers/defineProperty";import _classCallCheck from"babel-runtime/helpers/classCallCheck";import _createClass from"babel-runtime/helpers/createClass";import _possibleConstructorReturn from"babel-runtime/helpers/possibleConstructorReturn";import _inherits from"babel-runtime/helpers/inherits";import*as React from"react";import RcCollapse from"rc-collapse";import classNames from"classnames";var CollapsePanel=function(e){function r(){return _classCallCheck(this,r),_possibleConstructorReturn(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return _inherits(r,e),_createClass(r,[{key:"render",value:function(){var e=this.props,r=e.prefixCls,s=e.className,t=void 0===s?"":s,o=e.showArrow,l=classNames(_defineProperty({},r+"-no-arrow",!(void 0===o||o)),t);return React.createElement(RcCollapse.Panel,_extends({},this.props,{className:l}))}}]),r}(React.Component);export default CollapsePanel;