upd: list anggota
Deskripsi: - ui list anggota - note : blm selesai No Issues
This commit is contained in:
@@ -37,7 +37,19 @@ export default function RootLayout() {
|
||||
<MenuItemRow
|
||||
icon={<AntDesign name="pluscircle" color="black" size={25} />}
|
||||
title="Tambah Lembaga"
|
||||
onPress={() => { setVisibleTambah(true) }}
|
||||
onPress={() => {
|
||||
console.log('yeal')
|
||||
setVisible(false);
|
||||
// open the 2nd modal
|
||||
setTimeout(
|
||||
() => {
|
||||
setVisibleTambah(true)
|
||||
},
|
||||
// any small number will do, maybe animation duration
|
||||
100,
|
||||
);
|
||||
|
||||
}}
|
||||
/>
|
||||
</View>
|
||||
</DrawerBottom>
|
||||
@@ -45,7 +57,7 @@ export default function RootLayout() {
|
||||
<DrawerBottom animation="none" isVisible={isVisibleTambah} setVisible={setVisibleTambah} title="Tambah Lembaga Desa">
|
||||
<View style={{ justifyContent: 'space-between', flex: 1 }}>
|
||||
<View>
|
||||
<InputForm type="default" placeholder="Nama Lembaga Desa" required label="Lembaga Desa"/>
|
||||
<InputForm type="default" placeholder="Nama Lembaga Desa" required label="Lembaga Desa" />
|
||||
</View>
|
||||
<View>
|
||||
<ButtonForm text="SIMPAN" onPress={() => { handleTambah() }} />
|
||||
|
||||
Reference in New Issue
Block a user