@selimh/react-native-toast 0.3.0 → 0.3.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.
- package/README.md +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,7 @@ Toast.show({
|
|
|
81
81
|
| `text2` | `string` | `undefined` | Secondary description |
|
|
82
82
|
| `position` | `'top' \| 'bottom'` | `'top'` | Position of the toast |
|
|
83
83
|
| `theme` | `'light' \| 'dark' \| 'system'` | `'system'` | Toast visual theme |
|
|
84
|
+
| `animationType` | `'spring' \| 'slide' \| 'fade'` | `'fade'` | Animation style for enter/exit |
|
|
84
85
|
| `visibilityTime` | `number` | `3000` | Duration in ms |
|
|
85
86
|
| `topOffset` | `number` | `40` | Offset from top edge |
|
|
86
87
|
| `bottomOffset` | `number` | `40` | Offset from bottom edge |
|