-
Notifications
You must be signed in to change notification settings - Fork 148
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
how can I use a function work nextstep, instead of press button? #89
Comments
Did u find the way to use function to work to next step, instead of press button? |
here's a solution might be not that good. also check out isComplete prop
|
thanks bro
…------------------ 原始邮件 ------------------
发件人: "colbymillerdev/react-native-progress-steps" ***@***.***>;
发送时间: 2021年7月10日(星期六) 凌晨4:56
***@***.***>;
***@***.******@***.***>;
主题: Re: [colbymillerdev/react-native-progress-steps] how can I use a function work nextstep, instead of press button? (#89)
here's a solution might be not that good. also check out isComplete prop
`
const Example = ()=>{
const [step,setStep] = useState(0);
const handleStep = ()=>{
/// your logic where you can set Step page
setStep(2);
}
return(
step 1
step 2
)
}
`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how can I use a function work nextstep, instead of press button?
I don't want press Next button,
TKS
The text was updated successfully, but these errors were encountered: