This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 577
Can't move or hide photo counter #51
Comments
Try add styles to the element returned by |
I know that I can move the title, but counter is in usual title's place. I would prefer to move counter somewhere and keep title as it is. |
@jvaclavik , you can rewrite counter by pass <ImageViewer renderIndicator={ (currentIndex, allSize) => {
return <div style={...}>{currentIndex} / {allSize}</div>
} }/> |
Closed
Closed
If you want to remove the counter you'll need a function:
|
ATTENTION@jvaclavik is true but if you want set renderIndicator you should set styles with |
@KA5558 Yes, it's a bit troublesome, but there are more possibilities for doing something special. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you want to use
renderHeader
it could be a problem:It would be nice to have a prop with custom styles.
The text was updated successfully, but these errors were encountered: