react-native-toast-message 2.1.6 → 2.1.8
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.
- package/CHANGELOG.md +12 -0
- package/lib/src/types/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,18 @@ Headers are one of:
|
|
|
9
9
|
|
|
10
10
|
- `Added`, `Changed`, `Removed`, `Fixed` or `Breaking`.
|
|
11
11
|
|
|
12
|
+
## [2.1.8]
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Type update: add 'success', 'error' and 'info' to ToastType (#510)(https://github.com/calintamas/react-native-toast-message/pull/510)
|
|
17
|
+
|
|
18
|
+
## [2.1.7]
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- chore(deps): bump @babel/traverse from 7.18.2 to 7.23.2 [#489](https://github.com/calintamas/react-native-toast-message/pull/489)
|
|
23
|
+
|
|
12
24
|
## [2.1.6]
|
|
13
25
|
|
|
14
26
|
### Fixed
|
package/lib/src/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleProp, TextProps, TextStyle, TouchableOpacityProps, ViewProps, ViewStyle } from 'react-native';
|
|
3
3
|
export declare type ReactChildren = React.ReactNode;
|
|
4
|
-
export declare type ToastType = string;
|
|
4
|
+
export declare type ToastType = 'success' | 'error' | 'info' | (string & {});
|
|
5
5
|
export declare type ToastPosition = 'top' | 'bottom';
|
|
6
6
|
export declare type ToastOptions = {
|
|
7
7
|
/**
|