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

0% Statements 0/25
0% Branches 0/8
0% Functions 0/3
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 { Button } from 'src'
 
import Container from './modal-button.styled'
 
const ModalButton = ({ className, width, value, ...rest }) => (
  <Container className={className} width={width}>
    <Button {...rest} >
      {value}
    </Button>
  </Container>
)
 
ModalButton.propTypes = {
  className: PropTypes.string,
  width: PropTypes.any // String ou Number?
}
 
export default ModalButton