react-native-boxes 1.4.51 → 1.4.53

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/package.json +1 -1
  2. package/src/Button.tsx +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.51",
3
+ "version": "1.4.53",
4
4
  "description": "A react native library for rapid development of UI using boxes",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/Button.tsx CHANGED
@@ -143,7 +143,7 @@ export function ButtonView(props: ButtonViewProps) {
143
143
  }}>
144
144
  <BtnIcon color={
145
145
  //@ts-ignore
146
- typeof props.icon == 'string' ? tstyle.color || theme.colors.invert.text : undefined} />
146
+ typeof props.icon == 'string' ? tstyle.color || "#fff" : undefined} />
147
147
  </View>
148
148
  )
149
149
  }
@@ -254,7 +254,7 @@ export function RightIconButton(props: ButtonViewProps) {
254
254
  }}>
255
255
  <BtnIcon color={
256
256
  //@ts-ignore
257
- typeof props.icon == 'string' ? tstyle.color || theme.colors.invert.text : undefined} />
257
+ typeof props.icon == 'string' ? tstyle.color || "#fff" : undefined} />
258
258
  </View>
259
259
  )
260
260
  }