Cloud API Overview > @adpt/cloud > useLatestImageFrom
useLatestImageFrom() function
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Hook function to translate an ImageId (which can be either a Handle or an image name string) into an image name string.
Signature:
export declare function useLatestImageFrom(source: ImageId): string | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
source | ImageId |
Returns:
string | undefined