Skip to main content
Version: 1.0.4

IIndicatorProps

@spartanfx/react v1.0.4


@spartanfx/react / IIndicatorProps

Interface: IIndicatorProps

Props passed to custom indicator renderers.

Use this interface when implementing custom indicators via navigation.renderIndicator.

Properties

PropertyTypeDescription
ariaLabelstringAccessible label for the indicator.
indexnumberIndex of this indicator.
isActivebooleanWhether this indicator represents the active slide.
onClick() => voidClick handler to navigate to this slide.