native-pytech 1.0.146 → 1.0.148
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.
|
@@ -30,7 +30,7 @@ export default memo(({ children, childrenLeft, childrenRight, onPress, style, ba
|
|
|
30
30
|
{childrenLeft && <AddTextView hasTextView={hasTextView}>{childrenLeft}</AddTextView>}
|
|
31
31
|
{childrenRight || hasNavigationArrow ? (<View style={styles.der}>
|
|
32
32
|
{childrenRight}
|
|
33
|
-
{hasNavigationArrow && <Ionicons name='chevron-forward' size={
|
|
33
|
+
{hasNavigationArrow && <Ionicons name='chevron-forward' size={20} color={colors.theme[colorScheme].icon}/>}
|
|
34
34
|
</View>) : null}
|
|
35
35
|
{children}
|
|
36
36
|
</>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ColorSchemeType } from '../constants';
|
|
2
2
|
import Props from './OptionWrapper/types';
|
|
3
|
-
declare const _default: import("react").MemoExoticComponent<({ children, childrenLeft, childrenRight, onPress, onDelete, onDeleteShown, removeWidth, id, style, isAnimated, borders, backgroundColorPressed, LinearGradientProps, layoutAnimation, colorScheme, hasTextView, ...props }: Props & {
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<({ children, childrenLeft, childrenRight, onPress, onDelete, onDeleteShown, removeWidth, id, style, isAnimated, borders, backgroundColorPressed, LinearGradientProps, layoutAnimation, colorScheme, hasTextView, hasNavigationArrow, ...props }: Props & {
|
|
4
4
|
colorScheme: ColorSchemeType;
|
|
5
5
|
}) => import("react").JSX.Element>;
|
|
6
6
|
export default _default;
|
|
@@ -21,12 +21,12 @@ export default memo(({ children, childrenLeft, childrenRight, onPress, onDelete,
|
|
|
21
21
|
shownBottom: null,
|
|
22
22
|
color: null
|
|
23
23
|
}, backgroundColorPressed, LinearGradientProps, layoutAnimation = isLowTier ?
|
|
24
|
-
LinearTransition.duration(500) : LinearTransition.easing(Easing.bezier(0.2, 0.2, 0, 1)).duration(600), colorScheme, hasTextView, ...props }) => {
|
|
24
|
+
LinearTransition.duration(500) : LinearTransition.easing(Easing.bezier(0.2, 0.2, 0, 1)).duration(600), colorScheme, hasTextView, hasNavigationArrow, ...props }) => {
|
|
25
25
|
// Restricciones
|
|
26
26
|
if (onDelete && onPress)
|
|
27
27
|
throw new Error('onDelete y onPress no pueden ser usados juntos');
|
|
28
28
|
let content = (<>
|
|
29
|
-
<Option colorScheme={colorScheme} hasTextView={hasTextView} childrenLeft={childrenLeft} childrenRight={childrenRight} onPress={onPress} style={style} backgroundColorPressed={backgroundColorPressed} LinearGradientProps={LinearGradientProps}>
|
|
29
|
+
<Option colorScheme={colorScheme} hasNavigationArrow={hasNavigationArrow} hasTextView={hasTextView} childrenLeft={childrenLeft} childrenRight={childrenRight} onPress={onPress} style={style} backgroundColorPressed={backgroundColorPressed} LinearGradientProps={LinearGradientProps}>
|
|
30
30
|
{children}
|
|
31
31
|
</Option>
|
|
32
32
|
{borders && <Borders id={id} borders={borders}/>}
|