upd : group

This commit is contained in:
amel
2025-03-13 11:37:59 +08:00
parent 4111392f17
commit 88084c9969
2 changed files with 4 additions and 4 deletions

View File

@@ -38,14 +38,11 @@ export default function RootLayout() {
icon={<AntDesign name="pluscircle" color="black" size={25} />} icon={<AntDesign name="pluscircle" color="black" size={25} />}
title="Tambah Lembaga" title="Tambah Lembaga"
onPress={() => { onPress={() => {
console.log('yeal')
setVisible(false); setVisible(false);
// open the 2nd modal
setTimeout( setTimeout(
() => { () => {
setVisibleTambah(true) setVisibleTambah(true)
}, },
// any small number will do, maybe animation duration
100, 100,
); );

View File

@@ -116,7 +116,10 @@ export default function Index() {
<MenuItemRow <MenuItemRow
icon={<MaterialCommunityIcons name="pencil-outline" color="black" size={25} />} icon={<MaterialCommunityIcons name="pencil-outline" color="black" size={25} />}
title="Edit" title="Edit"
onPress={() => { setVisibleEdit(true) }} onPress={() => {
setModal(false)
setVisibleEdit(true)
}}
/> />
</View> </View>
</DrawerBottom> </DrawerBottom>