-
Notifications
You must be signed in to change notification settings - Fork 149
How can I style the indicators when active and not active state. #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sag1v Hope that makes sense hopefully can be done. thanks |
@gfunk1230 As you can see here we are not adding an
Or, you can just create your own pagination indicator. you can see more details about it here |
@sag1v awesome! thanks so much for the quick reply |
@gfunk1230 Do you want to PR with this change? |
cc @orensurf |
@sag1v just to be clear you would like me to create this enhancement myself and commit a PR for it? |
@sag1v if so it seems like the suggested above should be easy to implement. Just wanted to make sure you werent suggesting yourself in doing it but if so great and thankful? <Dot
onClick={this.onClick}
active={active}
className={`${cssPrefix("dot")} ${active ? cssPrefix("dot_active") : '' }`}
/> |
@sag1v any chance you can make that update actually since I am getting failing test when trying to commit the PR. It would be greatly appreciated. But does work as you suggested as you can see below but if you could make that change it would be greatly appreciated |
Interesting, i saw this issue. I will try to check it later on. |
@gfunk1230 Indeed there was a problem with |
how can i disable dots of elastic carousel i dontnwant to show them |
@waheed7429 You can pass pagination={false} |
Uh oh!
There was an error while loading. Please reload this page.
I was wondering how I can style the indicators on the carousel. I see I can style the indicator itself by using the classname .rec.rec-dot but I was wondering how can i change the style of the indicator when its active? Thanks
The text was updated successfully, but these errors were encountered: