react-native-timeline-flatlist
react-native-timeline-flatlist copied to clipboard
detailContainerStyle in data object
Hi I want to change the background color of description box for some data points only. But there is no option for detailContainerStyle in data object.
Hi. The only way to do that is custom renderDetail(rowData, sectionID, rowID)
function that can be passed to Timeline component as renderDetail={(rowData, sectionID, rowID)=>...}
where rowData will take data for current row. Then, you can set background color depends on data with conditions.