@stenajs-webui/modal 20.1.0 → 20.2.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.
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import ReactModal from "react-modal";
3
+ export interface AlertProps extends ReactModal.Props {
4
+ onRequestClose?: () => void;
5
+ }
6
+ export declare const Alert: React.FC<AlertProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import ReactModal from "react-modal";
3
- export interface CenterModalProps extends ReactModal.Props {
3
+ export interface ModalProps extends ReactModal.Props {
4
4
  onRequestClose?: () => void;
5
5
  }
6
- export declare const Modal: React.FC<CenterModalProps>;
6
+ export declare const Modal: React.FC<ModalProps>;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from "./common-types";
2
2
  export * from "./declarative-modals/window/BaseWindow";
3
3
  export * from "./declarative-modals/drawer/Drawer";
4
4
  export * from "./declarative-modals/drawer/DrawerHeader";
5
+ export * from "./declarative-modals/alert/Alert";
5
6
  export * from "./declarative-modals/modal/Modal";
6
7
  export * from "./declarative-modals/loading-modal/LoadingModal";
7
8
  export * from "./declarative-modals/window/Window";