update NetDetailModal
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
import { Text, View } from "react-native";
|
||||
import styles from "../../style/NetDetailModal.styles";
|
||||
|
||||
interface NotesSectionProps {
|
||||
ghiChu?: string;
|
||||
}
|
||||
|
||||
export const NotesSection: React.FC<NotesSectionProps> = ({ ghiChu }) => {
|
||||
if (!ghiChu) return null;
|
||||
|
||||
return (
|
||||
<View style={styles.infoCard}>
|
||||
<View style={styles.infoRow}>
|
||||
<Text style={styles.infoLabel}>Ghi chú</Text>
|
||||
<Text style={styles.infoValue}>{ghiChu}</Text>
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user