diff --git a/App/components/FCDetail/index.js b/App/components/FCDetail/index.js index c03d42d..c51309c 100644 --- a/App/components/FCDetail/index.js +++ b/App/components/FCDetail/index.js @@ -1,7 +1,7 @@ import React from 'react' import { Alert, Button, Image, Text, View } from 'react-native' -import { AppStyles, AppColors, AppFontStyle } from 'App/theme' +import { AppColors, AppFontStyle, AppStyles, AppType } from 'App/theme' const _onBuy = car => ( Alert.alert( @@ -24,31 +24,39 @@ export const FCDetail = ({ car }) => ( source={{ uri: car.img }} /> {car.name.toUpperCase()} - {car.available} + + {car.available} + - - Make: {car.make} - Model: {car.model} - Year: {car.year} + + + Make: {car.make.toUpperCase()} + + + Model: {car.model.toUpperCase()} + + + Year: {car.year} + {car.availability && ( - +