react-native-boxes 1.4.24 → 1.4.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.24",
3
+ "version": "1.4.26",
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
@@ -81,7 +81,7 @@ export function TransparentButton(props: TextProps & TouchableHighlightProps
81
81
  //@ts-ignore
82
82
  fontFamily: tstyle.fontFamily || theme.fonts.Bold,
83
83
  //@ts-ignore
84
- color: isPressed ? (props.underlayColor || theme.colors.accent) : tstyle.color || theme.colors.text,
84
+ color: isPressed ? (props.underlayColor || theme.colors.accentLight) : tstyle.color || theme.colors.accent,
85
85
  }}>
86
86
  {props.text || props.children}
87
87
  </TextView>
package/src/I18n.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export type I18n = {
2
- t: (id?: string) => string | undefined
2
+ t: (id?: string, placeholders?: any) => string | undefined
3
3
  }
4
4
 
5
5
  export const _i18n: I18n = {
6
- t: (id) => id
6
+ t: (id, placeholders) => id
7
7
  }