Guest User

Untitled

a guest
May 26th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. class ImagePopup extends Component<Props>{
  2. popupTransition(props) {
  3. return <Grow
  4. {...props}
  5. style={{ transformOrigin: '1000px -500px 0' }}
  6. {...(true ? { timeout: 500 } : {})} />;
  7. }
  8.  
  9. render() {
  10. return <Dialog TransitionComponent={this.popupTransition} onClose={this.props.close} open={this.props.previewImage}> <DialogTitle id="alert-dialog-title">{"Use Google's location service?"}</DialogTitle>
  11. <DialogContent>
  12. <DialogContentText id="alert-dialog-description">
  13. Let Google help apps determine location. This means sending anonymous location data to
  14. Google, even when no apps are running.
  15. </DialogContentText>
  16. </DialogContent>
  17. </Dialog>
  18. }
  19. }
Add Comment
Please, Sign In to add comment