Skip to main content
Version: 1.0.4

INavigationConfig

@spartanfx/react v1.0.4


@spartanfx/react / INavigationConfig

Interface: INavigationConfig

Navigation button configuration.

Properties

PropertyTypeDescription
indicatorPosition?"bottom" | "top"Position of the indicators. Default 'bottom'
infinite?booleanWhether navigation wraps around (infinite loop). Default false
renderIndicator?(props) => ReactNodeCustom render function for indicators.
renderNextButton?(props) => ReactNodeCustom render function for the next button.
renderPrevButton?(props) => ReactNodeCustom render function for the previous button.
showArrows?booleanWhether to show navigation arrows. Default true
showIndicators?booleanWhether to show dot indicators. Default true