upd: list anggota

Deskripsi:
- ui list anggota

- note : blm selesai

No Issues
This commit is contained in:
amel
2025-02-28 17:22:02 +08:00
parent 81a234d5cd
commit e8ec2278d3
13 changed files with 194 additions and 15 deletions

View File

@@ -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() }} />