We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bare bones expo project latest version and no toast.
import {router, Stack, useRouter} from "expo-router" import {useEffect} from "react" import { RootSiblingParent } from 'react-native-root-siblings'; import Toast from "react-native-root-toast" import {Text, TouchableOpacity, View} from "react-native" export default function RootLayout() { return ( <RootSiblingParent> <View style={{flex: 1, alignItems: 'center', justifyContent: 'center'}}> <TouchableOpacity onPress={() => { Toast.show('Test', { duration: 5000 , }); }}> <Text>test</Text> </TouchableOpacity> </View> </RootSiblingParent> ) }
The text was updated successfully, but these errors were encountered:
I had a similar error. Try installing react-native-root-siblings@^4.0.0.
react-native-root-siblings@^4.0.0
Sorry, something went wrong.
checkout https://github.com/calintamas/react-native-toast-message
@liquid36 solution worked for me!!!
It worked for me~~~~~~
My env: react-native@0.74.3 react-native-root-toast@3.6.0 expo@^51
No branches or pull requests
Bare bones expo project latest version and no toast.
The text was updated successfully, but these errors were encountered: