Button
A customizable button component that users can click to perform an action.
Properties
Preview
Generated Code
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
@Composable
fun MyButton() {
Button(
onClick = { /*TODO*/ },
enabled = true
) {
Text("Button")
}
}