upd: dokumen divisi

Deskripsi:
- ui menu bottom dan header saat file dokumen sedang keselect
- modal informasi
- ui accordion

- nb : scroll view di modal masih blm bisa

No Issues
This commit is contained in:
amel
2025-03-19 15:28:09 +08:00
parent 3f75d25905
commit f6ac399c06
6 changed files with 296 additions and 15 deletions

View File

@@ -5,14 +5,16 @@ type Props = {
onPress: () => void
icon: React.ReactNode
title: string
column?: 'many' | 'three'
color?: string
}
export default function MenuItemRow({ onPress, icon, title }: Props) {
export default function MenuItemRow({ onPress, icon, title, column, color }: Props) {
return (
<Pressable onPress={() => { onPress() }} style={[Styles.btnMenuRow]}>
<Pressable onPress={() => { onPress() }} style={[column == 'many' ? Styles.btnMenuRowMany : Styles.btnMenuRow]}>
<View style={{ alignItems: 'center' }}>
{icon}
<Text style={[Styles.mt05, {textAlign: 'center'}]}>{title}</Text>
<Text style={[Styles.mt05, { textAlign: 'center' }, color && { color: color }]}>{title}</Text>
</View>
</Pressable>
)