Skip to content
Snippets Groups Projects
InsideRoom.js 1.1 KiB
Newer Older
Anael Lacour's avatar
Anael Lacour committed
import React from 'react'
import { Entypo } from '@expo/vector-icons'
Anael Lacour's avatar
Anael Lacour committed
import { Button, ScrollView, StyleSheet, TouchableOpacity, View,Text } from 'react-native';
Anael Lacour's avatar
Anael Lacour committed
import BedIcon from '@mui/icons-material/Bed';
import NetworkWifi3BarOutlinedIcon from '@mui/icons-material/NetworkWifi3BarOutlined';
import MicrowaveIcon from '@mui/icons-material/Microwave';
export default function InsideRoom (props) {
Anael Lacour's avatar
Anael Lacour committed
  const {
    route,
    navigation
  } = props
Anael Lacour's avatar
Anael Lacour committed

Anael Lacour's avatar
Anael Lacour committed
  const room = route.params.room
Anael Lacour's avatar
Anael Lacour committed

  return (
Anael Lacour's avatar
Anael Lacour committed
    <>
      {room.inside &&
        <>
          <Text>Equipements Disponibles</Text>
          <View style={{ flexDirection: "row",paddingTop :"150"}}>
          {room.inside.bed && <BedIcon fontSize="large"/>}
          {room.inside.wifi && <NetworkWifi3BarOutlinedIcon fontSize="large"/>}
          {room.inside.four && <MicrowaveIcon fontSize="large"/>}
          </View>
        </>

      }
    </>
  )
Anael Lacour's avatar
Anael Lacour committed

Anael Lacour's avatar
Anael Lacour committed
}
Anael Lacour's avatar
Anael Lacour committed



const styles = StyleSheet.create({
  container: {
Anael Lacour's avatar
Anael Lacour committed
    container: {
      flex: 1,
      backgroundColor: "#FF0000",
      alignItems: "center",
      justifyContent: "center",
    },
Anael Lacour's avatar
Anael Lacour committed
  },
  carousel: {

  },
});