react-native-bread 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # React Native Bread 🍞
2
2
 
3
- An opinionated toast component for React Native. Inspired by @emilkowalski's Sonner, built for mobile with smooth 60fps animations and intuitive swipe gestures. Extremely lightweight.
3
+ An extremely lightweight, opinionated toast component for React Native. Inspired by @emilkowalski's Sonner, built for mobile with smooth 60fps animations and intuitive swipe gestures.
4
4
 
5
5
  https://github.com/user-attachments/assets/8a862dba-422c-4573-9f12-0a36cf6efe49
6
6
 
@@ -160,7 +160,7 @@ Available options include:
160
160
 
161
161
  ## Known Issues
162
162
 
163
- **Modal Overlays**: Toasts may render behind React Native's `<Modal>` component since modals are mounted at the native layer.
163
+ **Modal Pages**: Toasts may render behind React Native's `screenOptions={{ presentation: "modal" }}` since they are mounted at the native layer above the whole app.
164
164
 
165
- **Solution**: Use absolute positioning within your component tree instead of `<Modal>` for better toast visibility.
165
+ **Solution**: Use `screenOptions={{ presentation: "containedModal" }}`, or add another `<BreadLoaf>` inside the modal page.
166
166
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bread",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A delicious toast library for React Native with beautiful animations and gesture support",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",