Profile: - (user)/profile/[id]/update-background.tsx : perbaikan api - app/(application)/(user)/profile/[id]/update-photo.tsx Fix: - service/upload-service.ts : ganti Toast menjadi throw untuk dapatkna error ### No Issue
22 lines
426 B
TypeScript
22 lines
426 B
TypeScript
import { MainColor } from "@/constants/color-palet";
|
|
import { ICON_SIZE_SMALL } from "@/constants/constans-value";
|
|
import { FontAwesome5 } from "@expo/vector-icons";
|
|
|
|
export default function IconEdit({
|
|
size,
|
|
color,
|
|
}: {
|
|
size?: number;
|
|
color?: string;
|
|
}) {
|
|
return (
|
|
<>
|
|
<FontAwesome5
|
|
name="edit"
|
|
size={size || ICON_SIZE_SMALL}
|
|
color={color || MainColor.white}
|
|
/>
|
|
</>
|
|
);
|
|
}
|