Add:
- hooks/
- ios.build.device : untuk mendownload di ios

Fix:
- service/api.t : mengatur api
- context/AuthContext.tsx: Provider untuk access token

### No Issue
This commit is contained in:
2025-08-21 15:22:14 +08:00
parent 7a7bfd3ab9
commit 21c6460220
12 changed files with 380 additions and 142 deletions

View File

@@ -9,17 +9,24 @@ interface ButtonCenteredOnlyProps {
children?: React.ReactNode;
icon?: "plus" | "upload" | string;
onPress: () => void;
isLoading?: boolean;
}
export default function ButtonCenteredOnly({
onPress,
children,
icon = "plus"
icon = "plus",
isLoading = false,
}: ButtonCenteredOnlyProps) {
return (
<ButtonCustom
isLoading={isLoading}
onPress={onPress}
iconLeft={
<Feather name={icon as any} size={ICON_SIZE_BUTTON} color={MainColor.black} />
<Feather
name={icon as any}
size={ICON_SIZE_BUTTON}
color={MainColor.black}
/>
}
style={[GStyles.buttonCentered50Percent]}
>