Package-level declarations
Types
Link copied to clipboard
interface DropdownStyle
Interface representing the style configuration for a dropdown component.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface OutlinedTextFieldStyle
Interface representing the style configuration for an outlined text field.
Functions
Link copied to clipboard
fun KPDropdown(style: DropdownStyle, value: String, modifier: Modifier = Modifier, label: String? = null, placeholder: String? = null, errorLabel: String? = null, isError: Boolean = false, enabled: Boolean = true, colors: TextFieldColors = style.outlinedTextFieldColors, onClick: () -> Unit)
A Composable function to render a dropdown UI component.
Link copied to clipboard
fun KPMultiLineOutlineTextField(style: OutlinedTextFieldStyle, value: String, modifier: Modifier = Modifier, maxChar: Int? = null, label: String? = null, placeholder: String? = null, errorLabel: String? = null, isError: Boolean = false, enabled: Boolean = true, colors: TextFieldColors = style.outlinedTextFieldColors, onValueChange: (String) -> Unit)
Composable function to create a multi-line text input field with an outlined style.
Link copied to clipboard
fun KPSingleLineOutlinedTextField(style: OutlinedTextFieldStyle, value: String, modifier: Modifier = Modifier, label: String? = null, placeholder: String? = null, errorLabel: String? = null, isError: Boolean = false, enabled: Boolean = true, colors: TextFieldColors = style.outlinedTextFieldColors, onValueChange: (String) -> Unit, trailingContent: @Composable TextFieldScope.() -> Unit? = null)
Composable function to create a single-line text input field with an outlined style.