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:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user