Skip to main content

All Questions

0 votes
0 answers
96 views

React navigation native stack header title not auto hiding when using headerLargeTitle along with custom headerTitle component

My Code import * as React from 'react'; import {View, Text, StyleSheet, ScrollView} from 'react-native'; import {NavigationContainer} from '@react-navigation/native'; import {...
Naveen Vignesh's user avatar
0 votes
1 answer
117 views

Invariant Violation - Element type is invalid - Expected a string but got object

Here is one of my codes in a react native project. It uses react-navigation version 2 in various places. render() { const StackNavigator = createStackNavigator({ Login: { ...
buddhiv's user avatar
  • 698
1 vote
1 answer
2k views

React Native: Transparent Stack Navigator in iOS doesn't work

I use a Stack Navigator from React Navigation and want to make it transparent with the following code: const MyStackNavigator = new StackNavigator({ ScreenOne: { screen: ScreenOne }, },{ ...
Paul's user avatar
  • 899