What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-10 02:05:02
reactnaviataion change title
import * as React from 'react'; import { View, Text, Button } from 'react-native'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; function HomeScreen({ navigation }) { ret... Add solution -
Javascript 2022-01-31 01:26:15
sttripe for payment in react native andorid
import React from 'react';import AddSubscriptionView from '../components/AddSubscriptionView';const STRIPE_ERROR = 'Payment service error. Try again later.';const SERVER_ERROR = 'Server error. Try again later.';const STRIPE_PUBLISHABLE_KEY = 'Your Key';/*... Add solution -
Javascript 2021-11-21 15:46:24
react native passing parameters to routes
Copy function HomeScreen({ navigation }) { return ( <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}> <Text>Home Screen</Text> <Button title="Go to Details" onPress=... Add solution -
Javascript 2021-11-12 16:38:13
navigation react pass props
Copyfunction HomeScreen({ navigation }) { return ( <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}> <Text>Home Screen</Text> <Button title="Go to Details" onPress={() =&g... Add solution -
Javascript 2021-09-12 10:22:02
text input underline react native
import React, {Component} from 'react'; import {StyleSheet, Text, View,TextInput,TouchableOpacity} from 'react-native'; export default class App extends Component { render() { return ( <View style={styles.container}> <Text st... Add solution