upd : group
This commit is contained in:
@@ -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,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user