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

can't hide previous and next buttons #101

Open
anis-18 opened this issue May 11, 2022 · 2 comments
Open

can't hide previous and next buttons #101

anis-18 opened this issue May 11, 2022 · 2 comments

Comments

@anis-18
Copy link

anis-18 commented May 11, 2022

properties to disable next and previous button ain't working

<ProgressSteps nextBtnDisabled>
            <ProgressStep label="First Step">
              <View style={{ alignItems: 'center' }}>
                <Text>This is the content within step 1!</Text>
              </View>
            </ProgressStep>
            <ProgressStep label="Second Step">
              <View style={{ alignItems: 'center' }}>
                <Text>This is the content within step 2!</Text>
              </View>
</ProgressSteps>
@jsh854
Copy link

jsh854 commented May 18, 2022

what worked for me is this nextBtnDisabled={true} inside every progressStep whose next button you want to disable , similarly for the previous button as well
if you want to just remove the buttons you can use removeBtnRow={true} inside every progressStep

@ChaitanyaHoodie
Copy link

is there a way to goto next step without using the buttons provided here but with some other button in the page?

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

3 participants