update login, detail table in tripInfo
This commit is contained in:
@@ -37,6 +37,10 @@ const NetListTable: React.FC = () => {
|
||||
setCollapsed((prev) => !prev);
|
||||
};
|
||||
|
||||
const handleStatusPress = (id: string) => {
|
||||
console.log(`ID mẻ lưới: ${id}`);
|
||||
};
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
{/* Header toggle */}
|
||||
@@ -79,7 +83,9 @@ const NetListTable: React.FC = () => {
|
||||
{/* Cột Trạng thái */}
|
||||
<View style={[styles.cell, styles.statusContainer]}>
|
||||
<View style={styles.statusDot} />
|
||||
<Text style={styles.statusText}>{item.trangThai}</Text>
|
||||
<TouchableOpacity onPress={() => handleStatusPress(item.id)}>
|
||||
<Text style={styles.statusText}>{item.trangThai}</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
))}
|
||||
@@ -102,7 +108,9 @@ const NetListTable: React.FC = () => {
|
||||
{/* Cột Trạng thái */}
|
||||
<View style={[styles.cell, styles.statusContainer]}>
|
||||
<View style={styles.statusDot} />
|
||||
<Text style={styles.statusText}>{item.trangThai}</Text>
|
||||
<TouchableOpacity onPress={() => handleStatusPress(item.id)}>
|
||||
<Text style={styles.statusText}>{item.trangThai}</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user