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
This is how you can use this function
<StepIndicator
customStyles={customStyles}
currentPosition={0}
labels={TRACK_LABELS}
direction='vertical'
renderLabel={({position, stepStatus, label, currentPosition})=>{
return(
<Text style={{
fontFamily: FONT,
fontSize: WP(TEXT_SIZES.info_1),
color: position == currentPosition ? COLORS.primaryColor:COLORS.blackColor,
textAlign: 'left',
}}>{label}
);
}}
/>
Hello, how can I use renderLabel function?
The text was updated successfully, but these errors were encountered: