@ledvance/base 1.3.84 → 1.3.85
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.
- package/package.json +1 -1
- package/src/components/Cell.tsx +4 -4
package/package.json
CHANGED
package/src/components/Cell.tsx
CHANGED
|
@@ -13,7 +13,7 @@ interface CellProps {
|
|
|
13
13
|
title: string,
|
|
14
14
|
value: string,
|
|
15
15
|
onPress: () => void,
|
|
16
|
-
|
|
16
|
+
hideArrow?: boolean
|
|
17
17
|
style?: StyleProp<ViewStyle>
|
|
18
18
|
contentStyle?: StyleProp<ViewStyle>
|
|
19
19
|
titleStyle?: StyleProp<TextStyle>
|
|
@@ -39,7 +39,7 @@ export default withTheme(function Cell(props: CellProps) {
|
|
|
39
39
|
titleStyle={props.titleStyle}
|
|
40
40
|
value={props.value}
|
|
41
41
|
valueStyle={props.valueStyle}
|
|
42
|
-
|
|
42
|
+
hideArrow={props.hideArrow}
|
|
43
43
|
style={props.contentStyle}
|
|
44
44
|
/>
|
|
45
45
|
</TouchableOpacity>
|
|
@@ -55,7 +55,7 @@ interface CellContentProps {
|
|
|
55
55
|
style?: StyleProp<ViewStyle>
|
|
56
56
|
titleStyle?: StyleProp<TextStyle>
|
|
57
57
|
valueStyle?: StyleProp<TextStyle>
|
|
58
|
-
|
|
58
|
+
hideArrow?: boolean
|
|
59
59
|
arrowStyle?: { color?: any, size?: number }
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -89,7 +89,7 @@ const CellContentBase = (props: CellContentProps) => {
|
|
|
89
89
|
]}>{props.value}</Text>
|
|
90
90
|
<View style={{ width: cx(4) }} />
|
|
91
91
|
{
|
|
92
|
-
props.
|
|
92
|
+
!props.hideArrow && (
|
|
93
93
|
<IconFont
|
|
94
94
|
name="arrow"
|
|
95
95
|
color={props.arrowStyle?.color || props.theme?.global.secondFontColor}
|