Preparing search index...

    Props for the CustomImage component

    type CustomImageProps = {
        uri?: string;
        contentFit?: "cover" | "contain" | "fill" | "none" | "scale-down";
        backgroundColor?: string;
        size?: number;
        circular?: boolean;
        borderRadius?: number;
        onLoadSuccess?: () => void;
        onLoadError?: () => void;
        priority?: "low" | "normal" | "high";
        testID: string;
    }
    Index

    Properties

    uri?: string

    URI or path to the image to display

    contentFit?: "cover" | "contain" | "fill" | "none" | "scale-down"

    How the image should be resized to fit its container (default: 'cover')

    backgroundColor?: string

    Custom background color (defaults to theme.colors.tertiary)

    size?: number

    Size for width and height (if provided, overrides flex: 1)

    circular?: boolean

    Whether to make the image circular (applies size/2 as border radius)

    borderRadius?: number

    Custom border radius (overrides circular if provided)

    onLoadSuccess?: () => void

    Callback fired when image loads successfully

    onLoadError?: () => void

    Callback fired when image fails to load

    priority?: "low" | "normal" | "high"

    Loading priority for the image (default: 'normal')

    testID: string

    Unique identifier for testing and accessibility