-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Description
This is a nice project, but whenever I place a custom render button for skip, next and done, the event to skip or go to the next slide stops working.
const renderTexts = (val) => {
return (
<Button variant="unstyled" color="amber.500">{val}</Button>
)
}
<AppIntroSlider
data={slides}
renderItem={RenderItem}
onSkip={onSkip}
onDone={onSkip}
renderSkipButton={() => renderTexts('Skip')}
renderDoneButton={() => renderTexts('Done')}
renderNextButton={() => renderTexts('Next')}
showSkipButton={true}
dotStyle={{ backgroundColor: customTheme["color-black"] }}
/>
Metadata
Metadata
Assignees
Labels
No labels