Type alias TLoadImageProps

TLoadImageProps: {
    crossOrigin?: string | null;
    useCache?: boolean;
}

Image loading options

Type declaration

  • Optional crossOrigin?: string | null

    Specifies the crossOrigin attribute for the image. Can be null or a string such as 'anonymous' or 'use-credentials'.

    Default

    null
    
  • Optional useCache?: boolean

    When set to true, the image will be cached in memory and will not be loaded again for subsequent requests.

    Default

    false