Added: array with variables on reviews page
This commit is contained in:
parent
2041c8998a
commit
f1c296c0d3
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user