Skip to main content

INavigationConfig

@spartanfx/react v1.2.2


@spartanfx/react / index / INavigationConfig

Interface: INavigationConfig

Navigation button configuration.

Properties

Options

PropertyTypeDefaultDescription
indicatorPosition?"bottom" | "top"'bottom'Position of the indicators.
infinite?booleanfalseWhether navigation wraps around (infinite loop).
showArrows?booleantrueWhether to show navigation arrows.
showIndicators?booleantrueWhether to show dot indicators.

Events & callbacks

PropertyTypeDefaultDescription
renderIndicator?(props) => ReactNode-Custom render function for indicators.
renderNextButton?(props) => ReactNode-Custom render function for the next button.
renderPrevButton?(props) => ReactNode-Custom render function for the previous button.