upd: skeleton loading

Deskripsi:
- home
- list lembaga desa
- list jabatan
- list member
- detail member

No Issues
This commit is contained in:
amel
2025-06-02 17:25:52 +08:00
parent d9a9c821ea
commit 36294ec4eb
13 changed files with 410 additions and 214 deletions

View File

@@ -4,7 +4,7 @@ import { Image } from "react-native";
type Props = {
src: string,
size?: 'sm' | 'xs'
size?: 'sm' | 'xs' | 'lg'
border?: boolean
}
@@ -13,7 +13,7 @@ export default function ImageUser({ src, size }: Props) {
return (
<Image
source={error ? require('../assets/images/user.jpg') : { uri: src }}
style={[size == 'xs' ? Styles.userProfileExtraSmall : Styles.userProfileSmall, Styles.borderAll]}
style={[size == 'xs' ? Styles.userProfileExtraSmall : size == 'lg' ? Styles.userProfileBig : Styles.userProfileSmall, Styles.borderAll]}
onError={() =>
setError(true)
}