Skip to content

Commit ce2ddf9

Browse files
committed
chore: remove twitter starter screen
1 parent 5722ad2 commit ce2ddf9

File tree

5 files changed

+0
-215
lines changed

5 files changed

+0
-215
lines changed

example/src/navigation/AppNavigation.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
SectionListUsageScreen,
99
SimpleUsageScreen,
1010
TwitterProfileScreen,
11-
TwitterProfileStarterScreen,
1211
} from '../screens';
1312

1413
const Stack = createNativeStackNavigator<RootStackParamList>();
@@ -25,6 +24,5 @@ export default () => (
2524
<Stack.Screen name="FlatListUsageScreen" component={FlatListUsageScreen} />
2625
<Stack.Screen name="SectionListUsageScreen" component={SectionListUsageScreen} />
2726
<Stack.Screen name="TwitterProfileScreen" component={TwitterProfileScreen} />
28-
<Stack.Screen name="TwitterProfileStarterScreen" component={TwitterProfileStarterScreen} />
2927
</Stack.Navigator>
3028
);

example/src/navigation/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export type RootStackParamList = {
88
FlatListUsageScreen: undefined;
99
SectionListUsageScreen: undefined;
1010
TwitterProfileScreen: undefined;
11-
TwitterProfileStarterScreen: undefined;
1211
};
1312

1413
// Overrides the typing for useNavigation in @react-navigation/native to support the internal
@@ -42,8 +41,3 @@ export type TwitterProfileScreenNavigationProps = NativeStackScreenProps<
4241
RootStackParamList,
4342
'TwitterProfileScreen'
4443
>;
45-
46-
export type TwitterProfileStarterScreenNavigationProps = NativeStackScreenProps<
47-
RootStackParamList,
48-
'TwitterProfileStarterScreen'
49-
>;

example/src/screens/Home.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ const SCREEN_LIST_CONFIG: ScreenConfigItem[] = [
3838
route: 'TwitterProfileScreen',
3939
description: 'Rebuilding the Twitter profile header with this library.',
4040
},
41-
{
42-
name: 'Twitter Profile Starter',
43-
route: 'TwitterProfileStarterScreen',
44-
description: 'Start from scratch and follow my blog post for this implementation.',
45-
},
4641
];
4742

4843
const HeaderComponent: React.FC<ScrollHeaderProps> = ({ showNavBar }) => {

example/src/screens/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ export { default as SimpleUsageScreen } from './usage/Simple';
66
export { default as FlatListUsageScreen } from './usage/FlatList';
77
export { default as SectionListUsageScreen } from './usage/SectionList';
88
export { default as TwitterProfileScreen } from './usage/TwitterProfile';
9-
export { default as TwitterProfileStarterScreen } from './usage/TwitterProfileStarter';

example/src/screens/usage/TwitterProfileStarter.tsx

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)