Commit 730fd2dd authored by danushka9999's avatar danushka9999

navigation to crop rotation plan created

parent 0f5596ec
......@@ -19,6 +19,7 @@ export default function App() {
<Stack.Screen name="Most Suitable Crops" component={MostSutaibleCrops}/>
<Stack.Screen name="Add Soil Data Manually " component={ManualSoilData}/>
<Stack.Screen name="TestWithButton" component={TestWithButton}/>
<Stack.Screen name="Crop Rotation Plan" component={ManualSoilData}/>
</Stack.Navigator>
</NavigationContainer>
);
......
......@@ -12,7 +12,7 @@ const HomePage = ({ navigation }) => {
} else if (option === 'weatherData') {
navigation.navigate('Weather Data Options');
} else if (option === 'cropRotationPlan') {
navigation.navigate('CropRotationPlanPage');
navigation.navigate('Crop Rotation Plan');
}
};
......
import React, { useState } from 'react';
import { View, TextInput, TouchableOpacity, Text, StyleSheet, ImageBackground } from 'react-native';
const CropRotaionPlan = ({navigation}) => {
return (
null
);
};
export default CropRotaionPlan;
\ No newline at end of file
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