import React from 'react'; import classNames from 'classnames'; export default props => { const { prefixCls = 'ant-card', className, children, extra, title, ...other } = props; const classString = classNames({ [prefixCls]: true, [className]: !!className, }); return (

{title}

{extra}
{children}
); };