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

0% Statements 0/15
0% Branches 0/4
0% Functions 0/2
0% Lines 0/6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                                     
import React from 'react'
import PropTypes from 'prop-types'
 
import Footer from './modal-footer.styled'
 
const ModalFooter = ({ children, className, align }) => (
  <Footer align={align} className={className}>
    {children}
  </Footer>
)
 
ModalFooter.propTypes = {
  children: PropTypes.element,
  className: PropTypes.string,
  align: PropTypes.any // ???
}
 
export default ModalFooter