Skip to content
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

Give useSliderState #88

Open
birnayt opened this issue Apr 25, 2022 · 1 comment
Open

Give useSliderState #88

birnayt opened this issue Apr 25, 2022 · 1 comment

Comments

@birnayt
Copy link

birnayt commented Apr 25, 2022

Is your feature request related to a problem? Please describe.
I need to know the actual slider and didn't find a better way to do this with react, so I search the code in this repo and found that exist the useSliderState with currentState info, but this context is not available to use outside this code, with something like:

import { useSliderState } from "vtex.slider-layout/SliderLayout";

I was wondering if it is possible to make this adjustment to help us. Thanks!

@EduardoRodriguesF
Copy link

Same situation here! I need some custom pagination thumbs that requires that hook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants