SearchField

fun SearchField(vm: WeatherViewModel, modifier: Modifier = Modifier)

SearchField to search for a city.

Parameters

vm

The WeatherViewModel to access the search functionality.

modifier

The modifier to apply to this layout.