@medplum/react 5.1.23 → 5.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,6 +32,7 @@ import type { DiagnosticReport } from '@medplum/fhirtypes';
32
32
  import type { DocumentReference } from '@medplum/fhirtypes';
33
33
  import type { ElementDefinitionBinding } from '@medplum/fhirtypes';
34
34
  import type { ElementDefinitionType } from '@medplum/fhirtypes';
35
+ import type { ElementProps } from '@mantine/core';
35
36
  import type { Encounter } from '@medplum/fhirtypes';
36
37
  import type { ErrorInfo } from 'react';
37
38
  import type { ExtendedInternalSchemaElement } from '@medplum/core';
@@ -1207,7 +1208,7 @@ export declare interface MedplumContext {
1207
1208
 
1208
1209
  export declare function MedplumLink(props: MedplumLinkProps): JSX.Element;
1209
1210
 
1210
- export declare interface MedplumLinkProps extends AnchorProps {
1211
+ export declare interface MedplumLinkProps extends AnchorProps, ElementProps<'a', keyof AnchorProps> {
1211
1212
  readonly to?: Resource | Reference | string;
1212
1213
  readonly suffix?: string;
1213
1214
  readonly label?: string;
@@ -32,6 +32,7 @@ import type { DiagnosticReport } from '@medplum/fhirtypes';
32
32
  import type { DocumentReference } from '@medplum/fhirtypes';
33
33
  import type { ElementDefinitionBinding } from '@medplum/fhirtypes';
34
34
  import type { ElementDefinitionType } from '@medplum/fhirtypes';
35
+ import type { ElementProps } from '@mantine/core';
35
36
  import type { Encounter } from '@medplum/fhirtypes';
36
37
  import type { ErrorInfo } from 'react';
37
38
  import type { ExtendedInternalSchemaElement } from '@medplum/core';
@@ -1207,7 +1208,7 @@ export declare interface MedplumContext {
1207
1208
 
1208
1209
  export declare function MedplumLink(props: MedplumLinkProps): JSX.Element;
1209
1210
 
1210
- export declare interface MedplumLinkProps extends AnchorProps {
1211
+ export declare interface MedplumLinkProps extends AnchorProps, ElementProps<'a', keyof AnchorProps> {
1211
1212
  readonly to?: Resource | Reference | string;
1212
1213
  readonly suffix?: string;
1213
1214
  readonly label?: string;