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.mjs CHANGED
@@ -1983,22 +1983,33 @@ const styles$k = StyleSheet.create({
1983
1983
  borderRadius: moderateScale(8),
1984
1984
  overflow: "hidden"
1985
1985
  },
1986
- toastContainer: { flex: 1, justifyContent: "center" },
1986
+ toastContainer: {
1987
+ flex: 1,
1988
+ justifyContent: "center"
1989
+ },
1987
1990
  innerContainer: {
1988
1991
  flexDirection: "row",
1989
1992
  alignItems: "center",
1993
+ // Center items vertically
1994
+ justifyContent: "center",
1995
+ // Center items horizontally
1990
1996
  paddingHorizontal: horizontalScale(12)
1991
1997
  },
1992
1998
  icon: {
1993
- marginRight: 9
1999
+ marginRight: horizontalScale(8)
2000
+ // Adjust spacing from the text
1994
2001
  },
1995
2002
  messageText: {
1996
2003
  flex: 1,
2004
+ // Ensures the message takes available space
1997
2005
  color: "#fff",
1998
- marginLeft: horizontalScale(8)
2006
+ textAlign: "center",
2007
+ // Centers the text
2008
+ marginHorizontal: horizontalScale(8)
1999
2009
  },
2000
2010
  button: {
2001
- marginLeft: 9
2011
+ marginLeft: horizontalScale(8)
2012
+ // Adjust spacing between text and button
2002
2013
  },
2003
2014
  buttonText: {
2004
2015
  textDecorationLine: "underline",