API
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:
@@ -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]}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user