import { Text, View } from "react-native"; function DisplayShots({ data }) { const renderShots = (shots) => { return shots.map((shot) => ( {shot.id} )); }; return renderShots(data); } export default DisplayShots;