react-native-progress-steps icon indicating copy to clipboard operation
react-native-progress-steps copied to clipboard

Progress View Path is not Navigable on Android

Open NewTech2000 opened this issue 2 years ago • 0 comments

WhatsApp Image 2023-07-21 at 6 14 38 PM

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} </ProgressStep> ))} </ProgressSteps> ); };

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; `

NewTech2000 avatar Jul 21 '23 13:07 NewTech2000