Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 661 Bytes

inputfile.md

File metadata and controls

25 lines (20 loc) · 661 Bytes
title
Android

Overview

InputFile orbit component is provided only as a visual representation of a clickable field with the almost same API as common TextField.

Usage

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) },
    )
}