fun PagerProgressBar()

in android/source/src/main/kotlin/com/gu/source/components/pager/PagerProgressBar.kt [176:196]


fun PagerProgressBar(
    pagerState: PagerState,
    buttonPriority: SourceButton.Priority,
    modifier: Modifier = Modifier,
    selectedIndicatorColour: AppColour = DefaultSelectedIndicatorColour,
    unSelectedIndicatorColour: AppColour = DefaultUnSelectedIndicatorColour,
    prevButtonContentDescription: String? = null,
    nextButtonContentDescription: String? = null,
    showProgressButtons: Boolean = isTabletDevice(),
) {
    PagerProgressBar(
        pagerState = pagerState,
        modifier = modifier,
        buttonColours = buttonPriority.toColours(LocalSourceTheme.current),
        selectedIndicatorColour = selectedIndicatorColour,
        unSelectedIndicatorColour = unSelectedIndicatorColour,
        prevButtonContentDescription = prevButtonContentDescription,
        nextButtonContentDescription = nextButtonContentDescription,
        showProgressButtons = showProgressButtons,
    )
}