Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 072b104

Browse files
committed
🐛 (example) fix example app
1 parent b07592d commit 072b104

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

example/src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import React, { Component } from 'react';
22
import { Instagram } from './canals/Instagram';
3-
import { SignIn } from './canals/SignIn';
43
import { FullScreenPortal } from 'react-gondola';
54
import { View, TouchableOpacity, Text } from 'react-native';
65
import { Navigation } from 'react-gondola/Navigation';
76

87
interface State {
9-
example: null | 'SignIn' | 'Instagram';
8+
example: null | 'Instagram';
109
}
1110

12-
const EXAMPLES = { SignIn, Instagram };
11+
const EXAMPLES = { Instagram };
1312

1413
export default class App extends Component<{}, State> {
1514
state: State = {

example/src/canals/Instagram/Instagram.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ProfilePage } from './ProfilePage';
33
import { PostPage } from './PostPage';
44
import { PostSneakPeek } from './PostSneakPeek';
55
import { Screen, Canal } from 'react-gondola';
6-
import { CardSkewUp, SlideLeft, SlideUp } from 'react-gondola/transitions';
6+
import { ConvexUp, SlideLeft, SlideUp } from 'react-gondola/transitions';
77
import { getRandomUser } from './getRandomUser';
88

99
interface 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,

0 commit comments

Comments
 (0)