All files / components/card/card-footer index.js

0% Statements 0/17
0% Branches 0/4
0% Functions 0/2
0% Lines 0/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21                                         
import React from 'react'
import PropTypes from 'prop-types'
import CardFooterStyled from './card-footer.styled'
 
const CardFooter = ({ className, align, children }) => (
  <CardFooterStyled className={className} align={align}>
    {children}
  </CardFooterStyled>
)
 
CardFooter.propTypes = {
  className: PropTypes.string,
  align: PropTypes.string
}
 
CardFooter.defaultProps = {
  align: 'start'
}
 
export { CardFooter }