react-magma-dom 5.1.0-rc.16 → 5.1.0-rc.17

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.
@@ -19,6 +19,10 @@ export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
19
19
  * @default false
20
20
  */
21
21
  isDismissible?: boolean;
22
+ /**
23
+ * Reference to the dismiss button element
24
+ */
25
+ dismissibleButtonRef?: React.Ref<HTMLButtonElement>;
22
26
  isInverse?: boolean;
23
27
  /**
24
28
  * Action that fires when the close button is clicked (required when isDismissible is true)
@@ -18,6 +18,7 @@ export interface AlertBaseProps extends React.HTMLAttributes<HTMLDivElement> {
18
18
  isExiting?: boolean;
19
19
  isDismissed?: boolean;
20
20
  isDismissible?: boolean;
21
+ dismissibleButtonRef?: React.Ref<HTMLButtonElement>;
21
22
  isInverse?: boolean;
22
23
  isPaused?: boolean;
23
24
  isToast?: boolean;