upd: project

Deskripsi:
- delete project yg telah dibatalkan
- akses fitur by user role
- tampilan text yg panjang

No Issues
This commit is contained in:
amel
2025-05-15 12:08:24 +08:00
parent a877eec078
commit 9b05c6220c
11 changed files with 174 additions and 80 deletions

View File

@@ -7,11 +7,12 @@ type Props = {
title: string
column?: 'many' | 'three'
color?: string
disabled?: boolean
}
export default function MenuItemRow({ onPress, icon, title, column, color }: Props) {
export default function MenuItemRow({ onPress, icon, title, column, color, disabled }: Props) {
return (
<Pressable onPress={() => { onPress() }} style={[column == 'many' ? Styles.btnMenuRowMany : Styles.btnMenuRow]}>
<Pressable onPress={() => { onPress() }} style={[column == 'many' ? Styles.btnMenuRowMany : Styles.btnMenuRow, disabled && { opacity: 0.5 }]}>
<View style={{ alignItems: 'center' }}>
{icon}
<Text style={[Styles.mt05, { textAlign: 'center' }, color && { color: color }]}>{title}</Text>