diff --git a/api/feature/connections/org.meshtastic.feature.connections.ui.components/-connection-action-button.html b/api/feature/connections/org.meshtastic.feature.connections.ui.components/-connection-action-button.html index 99892d5b94..5a20ffb2ec 100644 --- a/api/feature/connections/org.meshtastic.feature.connections.ui.components/-connection-action-button.html +++ b/api/feature/connections/org.meshtastic.feature.connections.ui.components/-connection-action-button.html @@ -94,7 +94,7 @@

ConnectionActionButton

-
fun ConnectionActionButton(onClick: () -> Unit, icon: ImageVector, text: String, modifier: Modifier = Modifier, style: ConnectionActionButtonStyle = ConnectionActionButtonStyle.Filled, enabled: Boolean = true, iconContentDescription: String? = null)(source)

Shared "icon + label" button used throughout the Connections screen. Centralises M3 sizing conventions (ButtonDefaults.IconSize, ButtonDefaults.IconSpacing, and the variant-appropriate *WithIconContentPadding) so every scan / add / empty-state affordance renders identically.

Parameters

iconContentDescription

accessibility label for the leading icon. Defaults to null because the visible text usually describes the action; override when the icon carries information the text does not.

+
fun ConnectionActionButton(onClick: () -> Unit, icon: ImageVector, text: String, modifier: Modifier = Modifier, style: ConnectionActionButtonStyle = ConnectionActionButtonStyle.Filled, enabled: Boolean = true, iconContentDescription: String? = null)(source)

Shared "icon + label" button used throughout the Connections screen. Centralises M3 sizing conventions (ButtonDefaults.IconSize, ButtonDefaults.IconSpacing, and the variant-appropriate *WithIconContentPadding) so every scan / add / empty-state affordance renders identically.

Parameters

iconContentDescription

accessibility label for the leading icon. Defaults to null because the visible text usually describes the action; override when the icon carries information the text does not.