MCPcopy Create free account
hub / github.com/antonnell/networklist-org / Transition

Function Transition

components/unlock/unlockModal.js:10–28  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

8import Unlock from './unlock.js';
9
10function Transition(props) {
11 return <Slide direction="up" {...props} />;
12}
13
14class 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
30export default UnlockModal;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected