UNPKG

@openmrs/esm-framework

Version:
42 lines (22 loc) 1.14 kB
[@openmrs/esm-framework](../API.md) / UsePatientPhotoResult # Interface: UsePatientPhotoResult ## Table of contents ### UI Properties - [data](UsePatientPhotoResult.md#data) - [error](UsePatientPhotoResult.md#error) - [isLoading](UsePatientPhotoResult.md#isloading) ## UI Properties ### data **data**: ``null`` \| { `dateTime`: `string` ; `imageSrc`: `string` } #### Defined in [packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts#L8) ___ ### error `Optional` **error**: `Error` #### Defined in [packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts#L9) ___ ### isLoading **isLoading**: `boolean` #### Defined in [packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts#L10)