react-magma-dom 4.5.0 → 4.6.0-next.0

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,10 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
32
32
  * The content of the modal header
33
33
  */
34
34
  header?: React.ReactNode;
35
+ /**
36
+ * Function that returns reference for the header
37
+ */
38
+ headerRef?: (headerRef: React.Ref<any>) => void;
35
39
  /**
36
40
  * If true, closing the modal handled on the consumer side
37
41
  * @default false
@@ -11,4 +11,5 @@ export declare const ModalContentUpdate: () => JSX.Element;
11
11
  export declare const NoHeaderOrFocusableContent: () => JSX.Element;
12
12
  export declare const ModalInAModal: () => JSX.Element;
13
13
  export declare const CloseModalWithConfirmation: () => JSX.Element;
14
+ export declare const HeaderReference: () => JSX.Element;
14
15
  export declare const Inverse: () => JSX.Element;