react-swipeable-views
react-swipeable-views copied to clipboard
Add hooks support
Trying to add hooks based functional component. Hooks logic is not working in that component. Add hooks Support.
Great suggestion! Due to the current status of the creator of the library being occupied by a different project we kindly encourage you to make a Pull Request, we will than review, test and if positive, merge it!
I'm not sure what the original requestor is trying to do but I currently have this working with the React.useState hook in my a functional component in my app.
const [activeStep, setActiveStep] = useState(0);