Commit e1adb057 authored by W.D.R.P. Sandeepa's avatar W.D.R.P. Sandeepa

add coler activity 1

parent 28bacd56
......@@ -4,8 +4,10 @@ import {Text, TouchableOpacity, StyleSheet, View, Image} from 'react-native'
export default function ColorActivity(){
const navigation = useNavigation();
return(
<TouchableOpacity style={styles.card}>
<TouchableOpacity onPress={()=> {navigation.navigate("Blue")}} style={styles.card}>
<View style={[{flexDirection: "row"}]}>
<View style={styles.cardImage}>
......
import { useNavigation } from "@react-navigation/native";
import axios from "axios";
import React, {useState, useEffect} from "react";
import Orientation from 'react-native-orientation-locker';
import { StyleSheet, View, Text, Pressable, SafeAreaView, ScrollView, Image, ImageBackground, Dimensions, Animated, Easing, NativeModules } from 'react-native';
import ImageButton from "../component/ImageButton";
import ColorActivity from "../component/colorActivity";
......@@ -47,11 +48,11 @@ const[names,setNames] = useState([]);
</View>
</View>
{/* <ColorActivity>
<ColorActivity>
</ColorActivity>
<ColorActivity>
{/* <ColorActivity>
</ColorActivity>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment