Loading packages/shop-mobile-expo/src/components/Common/TouchableCard.tsx +110 −116 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ const STYLES = StyleSheet.create({ flex: 1, justifyContent: 'center', }, cardTextContentTitle: { fontSize: 18, paddingBottom: 2 }, cardTextContentTitle: { fontSize: 18, paddingBottom: 2, color: CC.primary }, }); const TouchableCard: React.FC<TouchableCardPropsType> = ({ Loading @@ -98,8 +98,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ disabled = false, rippleColor = CC.secondary + '10', children = null, }) => { return ( }) => ( <View style={{ ...STYLES.main, ...style }}> <Card style={{ ...STYLES.main, ...cardStyle }}> <TouchableRipple Loading Loading @@ -147,8 +146,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ {!isEmpty(img) && ( <Image source={ typeof img === 'string' typeof img === 'string' ? { uri: img } : img ? img Loading Loading @@ -187,8 +185,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ )} </View> {!isEmpty(indicatorIconProps) && !indicatorText && ( {!isEmpty(indicatorIconProps) && !indicatorText && ( <View style={{ ...GS.centered, Loading @@ -210,9 +207,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ ...GS.centered, ...GS.px1, fontSize: indicatorTextSize, color: indicatorTextColor || CC.primary, color: indicatorTextColor || CC.primary, }}> {indicatorText} </PaperText> Loading @@ -224,6 +219,5 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ </Card> </View> ); }; export default TouchableCard; Loading
packages/shop-mobile-expo/src/components/Common/TouchableCard.tsx +110 −116 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ const STYLES = StyleSheet.create({ flex: 1, justifyContent: 'center', }, cardTextContentTitle: { fontSize: 18, paddingBottom: 2 }, cardTextContentTitle: { fontSize: 18, paddingBottom: 2, color: CC.primary }, }); const TouchableCard: React.FC<TouchableCardPropsType> = ({ Loading @@ -98,8 +98,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ disabled = false, rippleColor = CC.secondary + '10', children = null, }) => { return ( }) => ( <View style={{ ...STYLES.main, ...style }}> <Card style={{ ...STYLES.main, ...cardStyle }}> <TouchableRipple Loading Loading @@ -147,8 +146,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ {!isEmpty(img) && ( <Image source={ typeof img === 'string' typeof img === 'string' ? { uri: img } : img ? img Loading Loading @@ -187,8 +185,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ )} </View> {!isEmpty(indicatorIconProps) && !indicatorText && ( {!isEmpty(indicatorIconProps) && !indicatorText && ( <View style={{ ...GS.centered, Loading @@ -210,9 +207,7 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ ...GS.centered, ...GS.px1, fontSize: indicatorTextSize, color: indicatorTextColor || CC.primary, color: indicatorTextColor || CC.primary, }}> {indicatorText} </PaperText> Loading @@ -224,6 +219,5 @@ const TouchableCard: React.FC<TouchableCardPropsType> = ({ </Card> </View> ); }; export default TouchableCard;