Package-level declarations

Types

Link copied to clipboard
typealias BpkBehaviouralEventWrapper = @Composable (item: Any, modifier: Modifier, content: @Composable BpkClickHandleScope.() -> Unit) -> Unit

This is used for registering components for behavioural events. Right now this supports onClick events, while any other events must be handled by the consumer.

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
const val DESKTOP_WIDTH: Int = 1025
Link copied to clipboard
const val SMALL_TABLET_WIDTH: Int = 513
Link copied to clipboard
const val TABLET_WIDTH: Int = 769

Functions

Link copied to clipboard
fun Modifier.clickableWithRipple(enabled: Boolean = true, bounded: Boolean = true, onClickLabel: String? = null, role: Role? = null, onClick: () -> Unit): Modifier
Link copied to clipboard