thegamenicorus / react-native-timeline-listview

Timeline component for React Native App
https://www.npmjs.com/package/react-native-timeline-listview
MIT License
1.16k stars 185 forks source link

support rtl direction #49

Open kinandwair opened 5 years ago

amed commented 5 years ago

It supports rtl content, you just need to add:

<Timeline
  ...
columnFormat='single-column-right'
descriptionStyle={{textAlign: 'right'}}
titleStyle={{textAlign: 'right'}}

/>
mohammadsolgi commented 5 years ago

when i use I18nManager.forceRTL(true); your code not work corectly i used this code: descriptionStyle={{textAlign: 'left'}} titleStyle={{textAlign: 'left'}}

title and description go to the right position but Circle does not show in the timeline! is there any solution for this case? smartselect_20190217-150206_safarbecom