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

display dynamically the steps with their contents #100

Open
hanaechahid opened this issue Jul 20, 2020 · 1 comment
Open

display dynamically the steps with their contents #100

hanaechahid opened this issue Jul 20, 2020 · 1 comment

Comments

@hanaechahid
Copy link

hello, I have quizz array and i want to display the steps depending on the length and content of the array.

For example, I have 3 quizz so I want to see 3 steps and each step contains its content(quiz).

How can I do this?

Thank you for your attention. I’m looking forward to your reply

@pmutshipayi
Copy link

pmutshipayi commented Aug 30, 2020

This is a late response but you can archive it like this,

<StepIndicator
     customStyles={customStyles}
     labels={quiz}
     stepCount={quiz.length}
/>

Where quiz is your array

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