Category : react-native

here, I have taken a view in which added image background and two buttons somehow I am not able to change button’s position <ImageBackground style={styles.container} resizeMode="cover" source={require("../../assets/loginsignup.png")} > <Button style={styles.button} title="" onPress={() => navigation.navigate("Login")} /> <Button title="" onPress={() => navigation.navigate("Register")} /> </ImageBackground> </View> and this is the style I have implemented container: { width: "100%", ..

Read more

I created functional component which is basically a text box which can render mentions of users. I use MentionsTextInput from here This is my custom component: import React, { useState, useEffect } from "react"; import { View, Image, Text, ActivityIndicator, TouchableOpacity, StyleSheet, } from "react-native"; import MentionsTextInput from "react-native-mentions"; import firebase from "firebase"; require("firebase/firestore"); require("firebase/firebase-storage"); ..

Read more