React-native-collapsible: how to use TouchableHighlight or TouchableOpacity inside renderheader?

Created on 15 Feb 2018  路  3Comments  路  Source: oblador/react-native-collapsible

My renderheader method is like this....

Most helpful comment

You need to change the _renderHeader to the following

_renderHeader = (section, i, isActive) => {...}

All 3 comments

_renderHeader(section, i, isActive) {
return (











  </View>
);

}

You need to change the _renderHeader to the following

_renderHeader = (section, i, isActive) => {...}

yes, i did this and now its working

Was this page helpful?
0 / 5 - 0 ratings