ui-rn 1.0.8 → 1.0.10

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/README.md CHANGED
@@ -1,29 +1,30 @@
1
- Install:
1
+ ### Install:
2
2
 
3
3
  ```js
4
4
  npm install ui-rn
5
5
  ```
6
6
 
7
- Example :
7
+ ### Block :
8
8
 
9
9
  ```tsx
10
- import {StyleSheet, Text, View} from 'react-native';
11
- import React from 'react';
12
- import {Block} from 'ui-rn';
13
- export default function App() {
14
- return (
15
- <View style={styles.container}>
16
- <Text>App</Text>
17
- <Block></Block>
18
- </View>
19
- );
20
- }
21
-
22
- const styles = StyleSheet.create({
23
- container: {
24
- flex: 1,
25
- justifyContent: 'center',
26
- alignItems: 'center',
27
- },
28
- });
10
+ import {Block, Text, Icon, Touch, Layout, LoadingView} from 'ui-rn';
11
+ <Layout>
12
+ <Block
13
+ mar-5
14
+ pad-5
15
+ red
16
+ background={['red', 'blue']}
17
+ positionOption={{top: 10, left: 5}}
18
+ alignCenter
19
+ borderCircle
20
+ mid
21
+ row
22
+ width-150
23
+ height-300>
24
+ <Text size-14 red toUpperCase italic bold>
25
+ Hello
26
+ </Text>
27
+ <Icon name="home" size-45 type="MaterialIcons" />
28
+ </Block>
29
+ </Layout>;
29
30
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-rn",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "repository": "https://github.com/phamha98/ui-rn",
5
5
  "description": "ui-rn",
6
6
  "author": "Phamha98",
@@ -11,7 +11,8 @@
11
11
  "validate-color": "^2.2.4",
12
12
  "react-native-safe-area-view": "^1.1.1",
13
13
  "react-native-linear-gradient": "^2.8.3",
14
- "react-native-indicators": "^0.17.0"
14
+ "react-native-indicators": "^0.17.0",
15
+ "react-native-dropdownalert": "^4.5.1"
15
16
  },
16
17
  "scripts": {
17
18
  "test": "echo \"Error: no test specified\" && exit 1"
package/src/Dropdown.tsx CHANGED
@@ -9,7 +9,7 @@ export default function AlertApp() {
9
9
  ref={ref}
10
10
  inactiveStatusBarBackgroundColor={'green'}
11
11
  updateStatusBar={false}
12
- errorColor={'#B57F00'}
12
+ errorColor={'#9A9891FFFF'}
13
13
  successColor={'#238209'}
14
14
  // errorImageSrc={Images('logo')}
15
15
  // successImageSrc={Images('logo')}