upd : group
This commit is contained in:
@@ -38,14 +38,11 @@ export default function RootLayout() {
|
||||
icon={<AntDesign name="pluscircle" color="black" size={25} />}
|
||||
title="Tambah Lembaga"
|
||||
onPress={() => {
|
||||
console.log('yeal')
|
||||
setVisible(false);
|
||||
// open the 2nd modal
|
||||
setTimeout(
|
||||
() => {
|
||||
setVisibleTambah(true)
|
||||
},
|
||||
// any small number will do, maybe animation duration
|
||||
100,
|
||||
);
|
||||
|
||||
|
||||
@@ -116,7 +116,10 @@ export default function Index() {
|
||||
<MenuItemRow
|
||||
icon={<MaterialCommunityIcons name="pencil-outline" color="black" size={25} />}
|
||||
title="Edit"
|
||||
onPress={() => { setVisibleEdit(true) }}
|
||||
onPress={() => {
|
||||
setModal(false)
|
||||
setVisibleEdit(true)
|
||||
}}
|
||||
/>
|
||||
</View>
|
||||
</DrawerBottom>
|
||||
|
||||
Reference in New Issue
Block a user