Package-level declarations

Types

Link copied to clipboard
data class IconAction(val icon: BpkIcon, val contentDescription: String, val onClick: () -> Unit) : Action
Link copied to clipboard
Link copied to clipboard
sealed interface NavIcon
Link copied to clipboard
data class TextAction(val text: String, val onClick: () -> Unit) : Action
Link copied to clipboard
sealed interface TopNavBarState
Link copied to clipboard

Functions

Link copied to clipboard
fun BpkTopNavBar(navIcon: NavIcon, title: String, modifier: Modifier = Modifier, insets: WindowInsets? = WindowInsets.statusBars, actions: List<IconAction> = emptyList(), style: NavBarStyle = NavBarStyle.Default)
fun BpkTopNavBar(navIcon: NavIcon, title: String, action: TextAction, modifier: Modifier = Modifier, insets: WindowInsets? = WindowInsets.statusBars, style: NavBarStyle = NavBarStyle.Default)
fun BpkTopNavBar(state: TopNavBarState, navIcon: NavIcon, title: String, modifier: Modifier = Modifier, insets: WindowInsets? = WindowInsets.statusBars, actions: List<IconAction> = emptyList(), style: NavBarStyle = NavBarStyle.Default)
fun BpkTopNavBar(state: TopNavBarState, navIcon: NavIcon, title: String, action: TextAction, modifier: Modifier = Modifier, insets: WindowInsets? = WindowInsets.statusBars, style: NavBarStyle = NavBarStyle.Default)
Link copied to clipboard
Link copied to clipboard
fun rememberTopAppBarState(initialStatus: TopNavBarStatus = TopNavBarStatus.Expanded): TopNavBarState