You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, I have quizz array and i want to show the steps depending on the length and content of the array.
So what I did is:
<ProgressSteps
ref={ref => { this.progressSteps = ref }}
activeStep={this.state.activeStep}>
{ this.state.quizz.map((quiz, i) => {
return (
<ProgressStep label={quiz.name}
nextBtnStyle={styles.nextBtn} nextBtnTextStyle={styles.btnText}
scrollViewProps={this.defaultScrollViewProps}>
// some other elements
</ProgressStep>
)
}
</ProgressSteps>
but I get this error :
Unhandled JS Exception: Invariant Violation: Invariant Violation: React.cloneElement(...): The argument must be a React element, but you passed undefined.
can anyone help me?!
The text was updated successfully, but these errors were encountered:
hello, I have quizz array and i want to show the steps depending on the length and content of the array.
So what I did is:
but I get this error :
can anyone help me?!
The text was updated successfully, but these errors were encountered: