DEV Community

Discussion on: How to create multi-step forms in React?

Collapse
 
isaacpro01 profile image
ssemugenyi isaac

Thanks @Samet, I would like to know if this package works with react native and if so, could you as well publish an article on it.

Collapse
 
sametweb profile image
Samet Mutevelli

Some parts of the package is designed to work with HTML elements. Since React Native is not using HTML elements (such as inputs, checkboxes, etc.) I would have to tweak the configuration a little bit to support React Native out-of-box.

However, I tried installing it and next/previous functions are working. If you can configure the onChangeText handler with the help of props.setState method, I don't see any reason it shouldn't work. Again, I didn't test it fully. I will come back here and let you know once I do that.