dhre-ui-kit 0.0.185 → 0.0.187

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