(props)
| 8 | import Unlock from './unlock.js'; |
| 9 | |
| 10 | function Transition(props) { |
| 11 | return <Slide direction="up" {...props} />; |
| 12 | } |
| 13 | |
| 14 | class UnlockModal extends Component { |
| 15 | render() { |
| 16 | const { closeModal, modalOpen } = this.props; |
| 17 | |
| 18 | const fullScreen = window.innerWidth < 576; |
| 19 | |
| 20 | return ( |
| 21 | <Dialog open={ modalOpen } onClose={ closeModal } fullWidth={ true } maxWidth={ 'sm' } TransitionComponent={ Transition } fullScreen={ fullScreen }> |
| 22 | <DialogContent> |
| 23 | <Unlock closeModal={ closeModal } /> |
| 24 | </DialogContent> |
| 25 | </Dialog> |
| 26 | ) |
| 27 | }; |
| 28 | } |
| 29 | |
| 30 | export default UnlockModal; |
nothing calls this directly
no outgoing calls
no test coverage detected