Kit > healthstack.kit.ui > SquareTextField

SquareTextField

[androidJvm]\

@Composable

fun SquareTextField(modifier: Modifier = Modifier, value: String, onValueChange: (String) -> Unit, placeholder: String = "", colors: TextFieldColors = TextFieldDefaults.outlinedTextFieldColors(
textColor = AppTheme.colors.onSurface,
backgroundColor = AppTheme.colors.surface,
disabledTextColor = AppTheme.colors.onSurface.copy(0.38F),
cursorColor = AppTheme.colors.primary,
focusedBorderColor = AppTheme.colors.primary,
unfocusedBorderColor = Color.Transparent,
), shouldMask: Boolean = false)