You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
Can someone help me to renderTitle from component ? I tried like this but no luck <Scene titleStyle={styles.programTitleStyle} clone backButtonTextStyle={{color:'#231f20'}} direction="vertical" key="CarList" backTitle='' component={CarList} title="Car List" renderTitle={() => {Actions.refs.CarList.getTitle()} } />
Version
Hi everyone,
Can someone help me to renderTitle from component ? I tried like this but no luck
<Scene titleStyle={styles.programTitleStyle} clone backButtonTextStyle={{color:'#231f20'}} direction="vertical" key="CarList" backTitle='' component={CarList} title="Car List" renderTitle={() => {Actions.refs.CarList.getTitle()} } />
In CarList.js
getTitle(){ return ( <Button onPress={() => {Actions.SearchModal()}} > <View> <Text> {this.props.searchTitle} </Text> </View> <View > <Text> {this.props.searchDate} </Text> </View> </Button> ) }
Tring to make my title like this link but it did not help me .
#2959
The text was updated successfully, but these errors were encountered: