Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ImagePopup extends Component<Props>{
- popupTransition(props) {
- return <Grow
- {...props}
- style={{ transformOrigin: '1000px -500px 0' }}
- {...(true ? { timeout: 500 } : {})} />;
- }
- render() {
- return <Dialog TransitionComponent={this.popupTransition} onClose={this.props.close} open={this.props.previewImage}> <DialogTitle id="alert-dialog-title">{"Use Google's location service?"}</DialogTitle>
- <DialogContent>
- <DialogContentText id="alert-dialog-description">
- Let Google help apps determine location. This means sending anonymous location data to
- Google, even when no apps are running.
- </DialogContentText>
- </DialogContent>
- </Dialog>
- }
- }
Add Comment
Please, Sign In to add comment