exportclassDescriptionCardextendsReact.Component{render(){let{ text }=this.props;return(<View><Viewstyle={styles.cardLabel}><BoldTextstyle={styles.cardLabelText}>
Description
</BoldText></View><Viewstyle={styles.card}><Viewstyle={styles.cardBody}><ReadMorenumberOfLines={3}renderTruncatedFooter={this._renderTruncatedFooter}renderRevealedFooter={this._renderRevealedFooter}onReady={this._handleTextReady}><RegularTextstyle={styles.cardText}>{text}</RegularText></ReadMore></View></View></View>);}_renderTruncatedFooter=(handlePress)=>{return(<RegularTextstyle={{color: Colors.tintColor,marginTop: 5}}onPress={handlePress}>
Read more
</RegularText>);}_renderRevealedFooter=(handlePress)=>{return(<RegularTextstyle={{color: Colors.tintColor,marginTop: 5}}onPress={handlePress}>
Show less
</RegularText>);}_handleTextReady=()=>{// ...}}