ui-rn 1.0.8 → 1.0.9

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/README.md +20 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,29 +1,28 @@
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} from 'ui-rn';
11
+ <Block
12
+ mar-5
13
+ pad-5
14
+ red
15
+ background={['red', 'blue']}
16
+ positionOption={{top: 10, left: 5}}
17
+ alignCenter
18
+ borderCircle
19
+ mid
20
+ row
21
+ width-150
22
+ height-300>
23
+ <Text size-14 red toUpperCase italic bold>
24
+ Hello
25
+ </Text>
26
+ <Icon name="home" size-45 type="MaterialIcons" />
27
+ </Block>;
29
28
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-rn",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "repository": "https://github.com/phamha98/ui-rn",
5
5
  "description": "ui-rn",
6
6
  "author": "Phamha98",