title |
---|
Android |
InputFile orbit component is provided only as a visual representation of a clickable field with the almost same API as common TextField.
Define the text value and click action of the ClickableField
.
@Composable
fun Example() {
ClickableField(
value = "Attach filed",
onClick = { /* ... */ },
label = { Text("Attachment") },
info = { Text("Attach JPEG.") },
leadingIcon = { Icon(Icons.Attachment, contentDescription = null) },
)
}