@spartanfx/react v1.2.2
@spartanfx/react / index / INavigationConfig
Interface: INavigationConfig
Navigation button configuration.
Properties
Options
| Property | Type | Default | Description |
|---|
indicatorPosition? | "bottom" | "top" | 'bottom' | Position of the indicators. |
infinite? | boolean | false | Whether navigation wraps around (infinite loop). |
showArrows? | boolean | true | Whether to show navigation arrows. |
showIndicators? | boolean | true | Whether to show dot indicators. |
Events & callbacks
| Property | Type | Default | Description |
|---|
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. |