summaryrefslogtreecommitdiffstats
path: root/components/PreviewCard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/PreviewCard.tsx')
-rw-r--r--components/PreviewCard.tsx38
1 files changed, 19 insertions, 19 deletions
diff --git a/components/PreviewCard.tsx b/components/PreviewCard.tsx
index 989ec34..5140fe2 100644
--- a/components/PreviewCard.tsx
+++ b/components/PreviewCard.tsx
@@ -1,20 +1,20 @@
-const imageURL = 'https://image.tmdb.org/t/p/original';
-import { ImageBackground, View } from "react-native";
-const baseURL ='https://api.themoviedb.org/3/'
-import tw from 'twrnc';
-
-const PreviewCard = ({ movie }) => {
- return (
- <View style={tw``}>
- <View style={tw`shadow-black rounded`}>
- <ImageBackground
- source={{uri: `https://image.tmdb.org/t/p/original${movie?.poster_path}`}}
- resizeMode={'cover'}
- style={tw`h-40 w-30 rounded-xl bg-white border border-white/30 overflow-hidden`}
- ></ImageBackground>
- </View>
- </View>
- )}
-
-
+const imageURL = 'https://image.tmdb.org/t/p/original';
+import { ImageBackground, View } from "react-native";
+const baseURL ='https://api.themoviedb.org/3/'
+import tw from 'twrnc';
+
+const PreviewCard = ({ movie }) => {
+ return (
+ <View style={tw``}>
+ <View style={tw`shadow-black rounded`}>
+ <ImageBackground
+ source={{uri: `https://image.tmdb.org/t/p/original${movie?.poster_path}`}}
+ resizeMode={'cover'}
+ style={tw`h-40 w-30 rounded-xl bg-white border border-white/30 overflow-hidden`}
+ ></ImageBackground>
+ </View>
+ </View>
+ )}
+
+
export default PreviewCard \ No newline at end of file