@mindly/ui-components 3.1.0 → 3.1.1
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,7 +1,8 @@
|
|
|
1
|
-
import { ModalOptions } from '@ionic/react';
|
|
2
1
|
import { FC } from 'react';
|
|
3
|
-
interface ModalProps
|
|
2
|
+
interface ModalProps {
|
|
4
3
|
fullwidth?: boolean;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onDidDismiss: () => void;
|
|
5
6
|
}
|
|
6
7
|
declare const Modal: FC<ModalProps>;
|
|
7
8
|
export default Modal;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, ReactText, FC } from 'react';
|
|
3
3
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
4
|
-
import { ModalOptions } from '@ionic/react';
|
|
5
4
|
|
|
6
5
|
interface ButtonProps {
|
|
7
6
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
@@ -635,8 +634,10 @@ declare type SegmentProps = {
|
|
|
635
634
|
};
|
|
636
635
|
declare const Segment: FC<SegmentProps>;
|
|
637
636
|
|
|
638
|
-
interface ModalProps
|
|
637
|
+
interface ModalProps {
|
|
639
638
|
fullwidth?: boolean;
|
|
639
|
+
isOpen: boolean;
|
|
640
|
+
onDidDismiss: () => void;
|
|
640
641
|
}
|
|
641
642
|
declare const Modal: FC<ModalProps>;
|
|
642
643
|
|