ReversiTextField

@Composable
fun ReversiScope.ReversiTextField(value: String = "", onValueChange: (String) -> Unit = {}, placeholder: @Composable () -> Unit = {}, label: @Composable () -> Unit = {}, singleLine: Boolean = true, modifier: Modifier = Modifier, onDone: () -> Unit = {}, enabled: Boolean = true)

Themed text input field following the application's design system. Supports placeholder, label, and single/multi-line modes.

Parameters

value

Current text value in the field.

onValueChange

Callback invoked when the text content changes.

placeholder

Optional placeholder content.

label

Optional label content.

singleLine

Whether the field accepts only a single line of input.

modifier

Composable modifier for layout adjustments.

onDone

Callback invoked when the user completes input (IME action).

enabled

Whether the field is editable.