androidx.compose.foundation.text.selection

DisableSelection

Composable function · from org.jetbrains.compose.foundation:foundation:1.12.2

One of the selection. It works like SelectionContainer. Only the parameters that differ are described here.

Inside a SelectionContainer, text in a DisableSelection can't be selected. Use it for labels next to the value the user would copy.

Parameters

@Composable
fun DisableSelection(content: @Composable () -> Unit)

Same as in SelectionContainer: content.

Selection