1. Below Are The Lines Of Source Code Of React-Native import React, { Component, useState } from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Alert, Modal, Text, StatusBar, TouchableOpacity, TouchableHighlight, TextInput, FlatList, Button, Image } from 'react-native'; class App extends React.Component { constructor(props) { super(props); this.state = { isBlack: true, isBlue: false, } } handleChange = (bool) => { if (bool) this.setState({ isBlack: true, isBlue: false }) else this.setState({ isBlack: false, isBlue: true }) } render() { const { isBlack, isBlue } = this.state; return ( <View style={styles.container}> <...
Comments
Post a Comment