We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have used this library but this path is not navigable on Android and it works on IOS Properly
This Is the Source Code
`import React from "react"; import { ProgressSteps, ProgressStep } from "react-native-progress-steps"; import PropTypes from "prop-types"; import { tr } from "../../resources/translations"; import { wdp } from "../../utils/responsive";
const Stepper = ({ steps, theme, disabled, onStepChange ,isDisable}) => { return ( <ProgressSteps progressBarColor={"#B8B8B8"} activeStepIconBorderColor={theme} activeLabelColor={theme} completedStepIconColor={theme} completedProgressBarColor={theme} disabledStepIconColor={"#B8B8B8"} labelColor={"#999999"} completedLabelColor={theme} isScrollable onStepChange={onStepChange} disabled={disabled} > {steps.map((step) => ( <ProgressStep removeBtnRow={isDisable && step.id===0} key={step.id} nextBtnStyle={{ backgroundColor: theme, borderRadius: 4 }} nextBtnTextStyle={{ color: 'white', fontSize: 15, paddingHorizontal: wdp(3) }} previousBtnStyle={ step.id!==0?{ backgroundColor: theme, borderRadius: 4 } :{}} previousBtnTextStyle={{ color: 'white', fontSize: 15 }} label={step.title} onNext={step.onNext} onPrevious={step.onPrevious} onSubmit={step.onSubmit} nextBtnText={step.nextText || tr("app.next")} > {step.component} ))} ); };
Stepper.propTypes = { steps: PropTypes.array.isRequired, theme: PropTypes.string, disabled: PropTypes.bool, onStepChange: PropTypes.func };
Stepper.defaultProps = { theme: {}, disabled: false, onStepChange: null } export default Stepper; `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have used this library but this path is not navigable on Android and it works on IOS Properly
This Is the Source Code
`import React from "react";
import { ProgressSteps, ProgressStep } from "react-native-progress-steps";
import PropTypes from "prop-types";
import { tr } from "../../resources/translations";
import { wdp } from "../../utils/responsive";
const Stepper = ({ steps, theme, disabled, onStepChange ,isDisable}) => {
return (
<ProgressSteps
progressBarColor={"#B8B8B8"}
activeStepIconBorderColor={theme}
activeLabelColor={theme}
completedStepIconColor={theme}
completedProgressBarColor={theme}
disabledStepIconColor={"#B8B8B8"}
labelColor={"#999999"}
completedLabelColor={theme}
isScrollable
onStepChange={onStepChange}
disabled={disabled}
>
{steps.map((step) => (
<ProgressStep
removeBtnRow={isDisable && step.id===0}
key={step.id}
nextBtnStyle={{
backgroundColor: theme,
borderRadius: 4
}}
nextBtnTextStyle={{
color: 'white',
fontSize: 15,
paddingHorizontal: wdp(3)
}}
previousBtnStyle={ step.id!==0?{
backgroundColor: theme,
borderRadius: 4
} :{}}
previousBtnTextStyle={{
color: 'white',
fontSize: 15
}}
label={step.title}
onNext={step.onNext}
onPrevious={step.onPrevious}
onSubmit={step.onSubmit}
nextBtnText={step.nextText || tr("app.next")}
>
{step.component}
))}
);
};
Stepper.propTypes = {
steps: PropTypes.array.isRequired,
theme: PropTypes.string,
disabled: PropTypes.bool,
onStepChange: PropTypes.func
};
Stepper.defaultProps = {
theme: {},
disabled: false,
onStepChange: null
}
export default Stepper;
`
The text was updated successfully, but these errors were encountered: