Preparing search index...

    Props interface for ModalImageSelect component Defines the callback functions and data needed for image selection workflow

    type ModalImageSelectProps = {
        arrImg: string[];
        onSelectFunction: (img: string) => void;
        onDismissFunction: () => void;
        onImagesUpdated: (imageUri: string) => void;
        autoSelect?: boolean;
    }
    Index

    Properties

    arrImg: string[]

    Array of available image URIs to display in the selection gallery

    onSelectFunction: (img: string) => void

    Callback function called when user selects an existing image

    onDismissFunction: () => void

    Callback function called when user dismisses the modal

    onImagesUpdated: (imageUri: string) => void

    Callback function called when a new image is captured/selected and should be added to the array

    autoSelect?: boolean

    When true, camera/gallery picks immediately trigger onSelectFunction (edit mode)