@etsoo/react 1.3.8 → 1.3.9

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,4 +1,5 @@
1
- import { NotificationReturn } from '@etsoo/notificationbase';
1
+ /// <reference types="react" />
2
+ import { NotificationContent, NotificationReturn } from '@etsoo/notificationbase';
2
3
  import { NotificationReactCallProps } from '../notifier/Notifier';
3
4
  /**
4
5
  * Input dialog props
@@ -7,11 +8,11 @@ export declare type InputDialogProps = NotificationReactCallProps & {
7
8
  /**
8
9
  * Title
9
10
  */
10
- title: string;
11
+ title: NotificationContent<React.ReactNode>;
11
12
  /**
12
13
  * Message
13
14
  */
14
- message: string;
15
+ message: NotificationContent<React.ReactNode>;
15
16
  /**
16
17
  * Callback
17
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,4 +1,7 @@
1
- import { NotificationReturn } from '@etsoo/notificationbase';
1
+ import {
2
+ NotificationContent,
3
+ NotificationReturn
4
+ } from '@etsoo/notificationbase';
2
5
  import { NotificationReactCallProps } from '../notifier/Notifier';
3
6
 
4
7
  /**
@@ -8,12 +11,12 @@ export type InputDialogProps = NotificationReactCallProps & {
8
11
  /**
9
12
  * Title
10
13
  */
11
- title: string;
14
+ title: NotificationContent<React.ReactNode>;
12
15
 
13
16
  /**
14
17
  * Message
15
18
  */
16
- message: string;
19
+ message: NotificationContent<React.ReactNode>;
17
20
 
18
21
  /**
19
22
  * Callback