@sikka/hawa 0.0.246 → 0.0.247

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.
@@ -1,30 +1,20 @@
1
1
  import { ReactElement, FC } from "react";
2
2
  type ModalTypes = {
3
- /**
4
- * The boolean to open and close the modal
5
- */
3
+ /** * The boolean to open and close the modal */
6
4
  open: boolean;
7
- /**
8
- * The title of the modal, it will appear in the header of the modal
9
- */
5
+ /** * The title of the modal, it will appear in the header of the modal */
10
6
  title: string;
11
7
  /**
12
8
  * a function that's triggered when the modal is closed either by the clicking the close button or outside the modal.
13
9
  * @returns void
14
10
  */
15
11
  onClose: () => void;
16
- /**
17
- * Boolean to enable/disable closing the modal upon clicking outside the modal
18
- */
12
+ /** * Boolean to enable/disable closing the modal upon clicking outside the modal */
19
13
  closeOnClickOutside?: boolean;
20
- /**
21
- * The id of the modal
22
- */
14
+ /** * The id of the modal */
23
15
  modalID?: string;
24
16
  children: ReactElement;
25
- /**
26
- * The array of actions for the modal, it will appear in the footer of the modal
27
- */
17
+ /** * The array of actions for the modal, it will appear in the footer of the modal */
28
18
  actions: any;
29
19
  };
30
20
  export declare const HawaModal: FC<ModalTypes>;