react-native-boxes 1.4.50 → 1.4.52
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/package.json +2 -2
- package/src/Button.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-boxes",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.52",
|
|
4
4
|
"description": "A react native library for rapid development of UI using boxes",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
"@react-native-async-storage/async-storage": "^1.23.1",
|
|
39
39
|
"expo-web-browser": "^13.0.3"
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
}
|
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 ||
|
|
146
|
+
typeof props.icon == 'string' ? tstyle.color || "#fff" : undefined} />
|
|
147
147
|
</View>
|
|
148
148
|
)
|
|
149
149
|
}
|
|
@@ -161,7 +161,7 @@ export function ButtonView(props: ButtonViewProps) {
|
|
|
161
161
|
//@ts-ignore
|
|
162
162
|
fontFamily: tstyle.fontFamily || theme.fonts.Bold,
|
|
163
163
|
//@ts-ignore
|
|
164
|
-
color: tstyle.color ||
|
|
164
|
+
color: tstyle.color || "#fff",
|
|
165
165
|
}, props.textStyle]}>
|
|
166
166
|
{props.text || props.children}
|
|
167
167
|
</TextView>
|
|
@@ -236,7 +236,7 @@ export function RightIconButton(props: ButtonViewProps) {
|
|
|
236
236
|
//@ts-ignore
|
|
237
237
|
fontFamily: tstyle.fontFamily,
|
|
238
238
|
//@ts-ignore
|
|
239
|
-
color: tstyle.color ||
|
|
239
|
+
color: tstyle.color || "#fff",
|
|
240
240
|
}}>
|
|
241
241
|
{props.text}
|
|
242
242
|
</TextView>
|