"src/baleine/common/interface" did not exist on "be79e2e5ae734ad086b26f69bd98954114ceb133"
Newer
Older
import { View, Text, StyleSheet, Button,ScrollView} from "react-native";
import colors from '../../../colors'
import styled from "styled-components/native";
import ImageCarousel from '../../components/Carousel'
export default function Detail (props) {
const {route,navigation}=props
console.log(route.params.name)
const goTo = () => navigation.navigate("stackMap");
<ScrollView
contentContainerStyle={{ alignItems: 'center' }}
style={{ flex: 1, width: '100%' }}
showsVerticalScrollIndicator={false}
>
<View style={styles.carousel} >
<ImageCarousel />
</View>
<Button onPress={goTo} title={`Go to maps`} />
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "azure",
alignItems: "center",
justifyContent: "center",