Display image at two column timeline
poowl opened this issue · 1 comments
poowl commented
Hello!
Is it possible to display an image at two column timelines? For example on the left or right free space
thanks!
Eugnis commented
Sorry for long time answer. Sure, you can display image on free spaces. There are 2 options to do that:
-
Custom render for time in Timeline component
renderTime={()=><Image source={}/>}
-
Or put image component as
time
on data like that:
{ time: <Image source={require('../img/lunch.png')}/>, title: 'Go to Fitness center', description: 'Look out for the Best Gym & Fitness Centers around me :)', icon: require('../img/dumbbell.png'), imageUrl: 'https://cloud.githubusercontent.com/assets/21040043/24240422/20d84f6c-0fe4-11e7-8f1d-9dbc594d0cfa.jpg' }