import { Text, View, Dimensions } from "react-native"; import React from "react"; import Swiper from "react-native-swiper"; import { Image } from "expo-image"; import { useTailwind } from "tailwind-rn"; export default function Banner({ urls }) { const tailwind = useTailwind(); const screenWidth = Dimensions.get("window").width; return ( {urls.map((url) => ( ))} ); }