This repository was archived by the owner on Nov 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React , { Component } from 'react' ;
22import { Instagram } from './canals/Instagram' ;
3- import { SignIn } from './canals/SignIn' ;
43import { FullScreenPortal } from 'react-gondola' ;
54import { View , TouchableOpacity , Text } from 'react-native' ;
65import { Navigation } from 'react-gondola/Navigation' ;
76
87interface State {
9- example : null | 'SignIn' | ' Instagram';
8+ example : null | 'Instagram' ;
109}
1110
12- const EXAMPLES = { SignIn , Instagram } ;
11+ const EXAMPLES = { Instagram } ;
1312
1413export default class App extends Component < { } , State > {
1514 state : State = {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { ProfilePage } from './ProfilePage';
33import { PostPage } from './PostPage' ;
44import { PostSneakPeek } from './PostSneakPeek' ;
55import { Screen , Canal } from 'react-gondola' ;
6- import { CardSkewUp , SlideLeft , SlideUp } from 'react-gondola/transitions' ;
6+ import { ConvexUp , SlideLeft , SlideUp } from 'react-gondola/transitions' ;
77import { getRandomUser } from './getRandomUser' ;
88
99interface State {
@@ -46,11 +46,12 @@ export class Instagram extends Component<Props, State> {
4646 < Screen
4747 name = "sneakPeek"
4848 Component = { PostSneakPeek }
49- Transitioner = { CardSkewUp }
49+ Transitioner = { ConvexUp }
5050 visible = { this . state . isSneakPeeking && ! ! this . state . selectedPost }
5151 onBack = { ( ) => {
5252 this . setState ( { selectedPost : null , isSneakPeeking : false } ) ;
5353 } }
54+ isFullScreen
5455 props = { {
5556 user : this . user ,
5657 post : this . state . selectedPost ,
You can’t perform that action at this time.
0 commit comments