"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends2=require("babel-runtime/helpers/extends"),_extends3=_interopRequireDefault(_extends2),_react=require("react"),React=_interopRequireWildcard(_react),_classnames=require("classnames"),_classnames2=_interopRequireDefault(_classnames);function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var __rest=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&(a[r[l]]=e[r[l]])}return a};exports.default=function(e){var t=e.prefixCls,a=void 0===t?"dt-card":t,r=e.className,l=e.avatar,n=e.title,s=e.description,i=__rest(e,["prefixCls","className","avatar","title","description"]),c=(0,_classnames2.default)(a+"-meta",r),u=l?React.createElement("div",{className:a+"-meta-avatar"},l):null,o=n?React.createElement("div",{className:a+"-meta-title"},n):null,d=s?React.createElement("div",{className:a+"-meta-description"},s):null,f=o||d?React.createElement("div",{className:a+"-meta-detail"},o,d):null;return React.createElement("div",(0,_extends3.default)({},i,{className:c}),u,f)},module.exports=exports.default;