ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.44k stars 578 forks source link

option to not show the "index/total" header #376

Closed oferRounds closed 4 years ago

oferRounds commented 4 years ago

Thank you for this awesome library!

Small question: is there an option to not show the "index/total" header?

Thank you!

quantizor commented 4 years ago

@oferRounds try using renderIndicator={() => null}

oferRounds commented 4 years ago

@probablyup awesome, works great, thank you!!!

Maoravitan commented 3 years ago

renderIndicator={() => null} and also renderIndicator={() => {}} works however i am getting a typeScript error: image

how can i fix it?