import classnames from 'classnames'
import React from 'react'
import PropTypes from 'prop-types'

const CardFooter = ({ className, children, ...others }) => {
  return (
    <div {...others} className={classnames('card-footer', className)}>
      {children}
    </div>
  )
}

CardFooter.propTypes = {
  /**
   * 子组件
   */
  children: PropTypes.node,

  /**
   * 自定义样式
   */
  className: PropTypes.string,
}

export default CardFooter
