Helps you with the process of choosing an image to upload
const { presenter, state } = usePresenter<UploadImagePresenter>(
UploadImagePresenter,
{
autoUpdate: true,
registry: [
{ token: UploadServiceToken, useClass: MyUploadService },
{
token: SelectImageServiceToken,
useClass: SelectImageService,
},
],
},
);