native-pytech 1.0.55 → 1.0.57

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.
@@ -12,11 +12,11 @@ export default memo(({ text, onPress, onSubmit, backgroundColorPage, enabled = t
12
12
  const modifiersText = useMemo(() => [
13
13
  frame({ width: width - 110 }),
14
14
  font({ weight: 'semibold' }),
15
- foregroundStyle('#85fffd') // colors.especiales.celeste
16
- ], [width]);
15
+ ...(enabled ? [foregroundStyle('#85fffd')] : []), // colors.especiales.celeste
16
+ ], [width, enabled]);
17
17
  return (<Button onPress={onSubmit} modifiers={modifiers}>
18
18
  <Text modifiers={modifiersText}>
19
- Siguiente
19
+ {text}
20
20
  </Text>
21
21
  </Button>);
22
22
  });
@@ -1,7 +1,9 @@
1
1
  import React, { memo } from 'react';
2
- import { Overlay } from '@expo/ui/swift-ui';
2
+ import { Overlay, VStack } from '@expo/ui/swift-ui';
3
3
  export default memo(({ children, backgroundColorPage }) => {
4
4
  return (<Overlay.Content>
5
- {children}
5
+ <VStack spacing={10}>
6
+ {children}
7
+ </VStack>
6
8
  </Overlay.Content>);
7
9
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-pytech",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "Libreria de React Native Pytech",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",