native-pytech 1.0.133 → 1.0.135

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.
@@ -2,7 +2,6 @@ import React, { memo, useMemo } from 'react';
2
2
  import { StyleSheet, Text } from 'react-native';
3
3
  import { LinearGradient } from 'expo-linear-gradient';
4
4
  import { Ionicons } from '@expo/vector-icons';
5
- import Colors from '../../../../../libs/constants/colors';
6
5
  import colors, { sizes } from '../../constants';
7
6
  export default memo(({ text, color = 'default', type = 'small', sizeDiameter, icon, iconSize, ionIconName, }) => {
8
7
  const typeSizes = useMemo(() => sizes[type], [type]);
@@ -17,7 +16,7 @@ export default memo(({ text, color = 'default', type = 'small', sizeDiameter, ic
17
16
  </Text>);
18
17
  }, [text, typeSizes]);
19
18
  return (<LinearGradient style={[styles.gradient, { height: typeSizes.diameter, borderRadius: typeSizes.diameter }]} colors={[colors[color].light, colors[color].dark]} start={{ x: 0, y: 0 }} end={{ x: 0, y: 1 }}>
20
- {textComponent ?? (icon ?? (ionIconName && <Ionicons name={ionIconName} size={24} color={Colors.especiales.azul}/>))}
19
+ {textComponent ?? (icon ?? (ionIconName && <Ionicons name={ionIconName} size={24} color={'white'}/>))}
21
20
  </LinearGradient>);
22
21
  });
23
22
  const styles = StyleSheet.create({
@@ -12,5 +12,5 @@ export default memo(({ itemKey, title, ionIconName, icon }) => {
12
12
  {title && (<Table.Option.Components.TextView>
13
13
  <Table.Option.Components.Text text={title}/>
14
14
  </Table.Option.Components.TextView>)}
15
- </>} childrenRight={itemKey !== selected ? undefined : (<Ionicons name='checkmark-circle' size={24} color={Colors.especiales.azul}/>)}/>);
15
+ </>} childrenRight={itemKey !== selected ? undefined : (<Ionicons name='checkmark' size={24} color={Colors.especiales.azul}/>)}/>);
16
16
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-pytech",
3
- "version": "1.0.133",
3
+ "version": "1.0.135",
4
4
  "description": "Libreria de React Native Pytech",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",