Package-level declarations
Functions
Link copied to clipboard
fun <Value> TextFieldContent(label: String, value: Value, onValueChange: (Value) -> Unit, toString: (Value) -> String, toValue: (String) -> Result<Value>, modifier: Modifier = Modifier, prefix: @Composable () -> Unit? = null, suffix: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null, textStyle: TextStyle = PreviewLabTheme.typography.input)
Link copied to clipboard
fun <Value> MutablePreviewLabField<Value>.TextFieldContent(toString: (Value) -> String, toValue: (String) -> Result<Value>, modifier: Modifier = Modifier, prefix: @Composable () -> Unit? = null, suffix: @Composable () -> Unit? = null, placeholder: @Composable () -> Unit? = null)
Helper for UI of Fields that can be input with TextField.