DirectoryObjectDistanceComposable

fun DirectoryObjectDistanceComposable(viewModel: DirectoryObjectViewModel, colors: SearchDistanceComposableColors = SearchDistanceComposableDefaults.colors())

Composable function that shows the distance from the user's location.

Parameters

viewModel

The view-model containing data required to render UI components.

colors

Customizable color scheme (background, text, etc.).