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 } |