Added: array with variables on reviews page

This commit is contained in:
Matěj Kevin Nechodom 2024-05-15 02:04:58 +02:00
parent 2041c8998a
commit f1c296c0d3

View File

@ -30,17 +30,17 @@ export default function Tab() {
alert("Something went wrong"); alert("Something went wrong");
} }
} }
const opt3 = ["Bad", "Medium", "Excellent!"];
const opt5 = [
"Disgust",
"Not great, not terrible",
"Good",
"Why not?",
"Excellent!",
];
return ( return (
<View style={styles.container}> <View style={styles.container}>
<Button
title="Add Review"
color={colors.gold}
onPress={() => {
router.replace("/review/add");
}}
/>
<FlatList <FlatList
data={data} data={data}
style={styles.reviewList} style={styles.reviewList}