pytech-ui 1.0.7 → 1.0.8

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 +7 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,32 +5,25 @@ Librería de componentes de UI nativos para apps **React Native** / **Expo** (Py
5
5
  ## Instalación
6
6
 
7
7
  ```bash
8
- npm install pytech-ui
8
+ npx expo install pytech-ui
9
9
  npx expo install pytech-ui @expo/ui expo react react-native
10
10
  ```
11
11
 
12
- Después de instalar, en iOS:
13
-
14
- ```bash
15
- npx pod-install
16
- ```
17
-
18
12
  ## Uso
19
13
 
20
14
  Componentes SwiftUI (iOS):
21
15
 
22
16
  ```tsx
23
- import { Gradient, ListItem, NavigationStack } from 'pytech-ui/swift-ui';
24
- import { padding } from '@expo/ui/swift-ui/modifiers';
17
+ import { Gradient, ListItem, List } from 'pytech-ui/swift-ui';
25
18
 
26
19
  export function Example() {
27
20
  return (
28
- <NavigationStack modifiers={[padding({ all: 16 })]}>
21
+ <List>
29
22
  <ListItem onPress={() => {}}>
30
23
  <ListItem.Headline>Hola</ListItem.Headline>
31
24
  </ListItem>
32
25
  <Gradient systemImage="star.fill" colors={['#7580ba', '#b1c6e4']} />
33
- </NavigationStack>
26
+ </List>
34
27
  );
35
28
  }
36
29
  ```
@@ -38,6 +31,9 @@ export function Example() {
38
31
  ## Plataformas
39
32
 
40
33
  Los componentes de `pytech-ui/swift-ui` requieren **iOS** y dependen de `@expo/ui`.
34
+ Los componentes de `pytech-ui/jetpack-compose` requieren **Android** y dependen de `@expo/ui`.
35
+
36
+ Los componentes de `pytech-ui` son multiplataforma y dependen de `@expo/ui`.
41
37
 
42
38
  ## Licencia
43
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pytech-ui",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Librería de componentes de UI para Pytech",
5
5
  "keywords": [
6
6
  "react-native",