NoRoutesCard

fun NoRoutesCard(onActionButtonClick: () -> Unit, colors: RouteErrorColors = RouteErrorColors.colors())

Composable that displays a card UI when no routes are available.

Parameters

onActionButtonClick

Callback invoked when the user taps the action button. Should trigger a retry or fallback route calculation.

colors

Color scheme for the card