ui-rn 1.0.17 → 1.0.19

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": "ui-rn",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "repository": "https://github.com/package-dev/ui-rn",
5
5
  "description": "ui-rn",
6
6
  "author": "Phamha98",
@@ -12,7 +12,8 @@
12
12
  "react-native-safe-area-view": "^1.1.1",
13
13
  "react-native-linear-gradient": "^2.8.3",
14
14
  "react-native-indicators": "^0.17.0",
15
- "react-native-dropdownalert": "^4.5.1"
15
+ "react-native-dropdownalert": "^4.5.1",
16
+ "react-native-vector-icons": "^9.2.0"
16
17
  },
17
18
  "scripts": {
18
19
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -55,6 +55,7 @@ export interface PropsApp {
55
55
  gradient?: 'vertical' | 'horizontal'
56
56
  /** Set flex to 1 */
57
57
  flexOne?: boolean
58
+ flex1?: boolean
58
59
  /** Shadow color or boolean to enable default shadow */
59
60
  shadowColor?: string | boolean
60
61
  /** Border options for each side */
@@ -118,7 +118,8 @@ export const Style: any = (props: Props) => {
118
118
  // Width and height shortcuts
119
119
  props.w100 && { width: '100%' },
120
120
  props.h100 && { height: '100%' },
121
-
121
+ props.flex1 && { flex: 1 },
122
+ props.flexOne && { flex: 1 },
122
123
  // Screen dimensions
123
124
  props.widthScreen && { width: Dimensions.get('screen').width },
124
125
  props.heightScreen && { height: Dimensions.get('screen').height },