TopBar

@Composable
fun TopBar(modifier: Modifier, pagerState: PagerState, selectedDevice: Device)

This function displays a top bar for the application.

Parameters

modifier

The modifier to be applied to the top bar.

pagerState

The pager state to be used.

selectedDevice

The selected device.

Example usage:

TopBar(
modifier = Modifier,
pagerState = PagerState(),
selectedDevice = Device(DeviceDetails(name = emptyString))
)