@mindly/ui-components 5.10.0 → 5.10.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,2 +1,2 @@
1
1
  import { PushNotificationsModalProps } from './types';
2
- export declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, heightInPx, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
2
+ export declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, image, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
@@ -1,10 +1,19 @@
1
- import { JSX as IonicJSX } from '@ionic/core/components';
2
- export type PushNotificationsModalProps = IonicJSX.IonModal & {
1
+ import * as React from 'react';
2
+ export type PushNotificationsModalProps = {
3
3
  onApplyPermission: () => void;
4
4
  onDismissPermission: () => void;
5
5
  title: string;
6
+ description: string;
7
+ image: string;
6
8
  applyPermissionText: string;
7
9
  dismissPermissionText: string;
8
- description: string;
9
- heightInPx?: number;
10
+ isOpen: boolean;
11
+ presentingElement?: HTMLElement;
12
+ onDidDismiss?: () => void;
13
+ backButton?: boolean;
14
+ canDismiss?: boolean;
15
+ renderHeader?: (props: {
16
+ backButton?: boolean;
17
+ onClose: () => void;
18
+ }) => React.ReactNode;
10
19
  };