dhre-ui-kit 0.0.184 → 0.0.185
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/lib/index.js +15 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +15 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2016,22 +2016,33 @@ const styles$k = reactNative.StyleSheet.create({
|
|
|
2016
2016
|
borderRadius: moderateScale(8),
|
|
2017
2017
|
overflow: "hidden"
|
|
2018
2018
|
},
|
|
2019
|
-
toastContainer: {
|
|
2019
|
+
toastContainer: {
|
|
2020
|
+
flex: 1,
|
|
2021
|
+
justifyContent: "center"
|
|
2022
|
+
},
|
|
2020
2023
|
innerContainer: {
|
|
2021
2024
|
flexDirection: "row",
|
|
2022
2025
|
alignItems: "center",
|
|
2026
|
+
// Center items vertically
|
|
2027
|
+
justifyContent: "center",
|
|
2028
|
+
// Center items horizontally
|
|
2023
2029
|
paddingHorizontal: horizontalScale(12)
|
|
2024
2030
|
},
|
|
2025
2031
|
icon: {
|
|
2026
|
-
marginRight:
|
|
2032
|
+
marginRight: horizontalScale(8)
|
|
2033
|
+
// Adjust spacing from the text
|
|
2027
2034
|
},
|
|
2028
2035
|
messageText: {
|
|
2029
2036
|
flex: 1,
|
|
2037
|
+
// Ensures the message takes available space
|
|
2030
2038
|
color: "#fff",
|
|
2031
|
-
|
|
2039
|
+
textAlign: "center",
|
|
2040
|
+
// Centers the text
|
|
2041
|
+
marginHorizontal: horizontalScale(8)
|
|
2032
2042
|
},
|
|
2033
2043
|
button: {
|
|
2034
|
-
marginLeft:
|
|
2044
|
+
marginLeft: horizontalScale(8)
|
|
2045
|
+
// Adjust spacing between text and button
|
|
2035
2046
|
},
|
|
2036
2047
|
buttonText: {
|
|
2037
2048
|
textDecorationLine: "underline",
|