Closed amang-dew closed 2 years ago
@amang-dew border will not appear in see less
since it's a nested text component. You can use the underline css:
seeLessStyle: {
fontFamily: FONT_FAMILY.OpenSansRegular,
fontSize: normalize(14),
color:colors.inactiveTabColor,
textDecorationLine: 'underline'
}
Thanks @fawaz-ahmed. It works for me.
seeLessStyle: { fontFamily: FONT_FAMILY.OpenSansRegular, fontSize: normalize(14), color:colors.inactiveTabColor, borderBottomWidth:1, borderColor:colors.activeButtonColor }
<ReadMore style={styles.caption} seeMoreText={'See More'} seeMoreStyle={styles.seeMoreStyle} seeLessText={'See Less'} seeLessStyle={styles.seeLessStyle} numberOfLines={3}
Border is not visible on See Less Text. @fawaz-ahmed