ActionCardWithTitleSample
@Sampled
@Composable
fun ActionCardWithTitleSample() {
ActionCard(action = { Button(onClick = {}) { Text("Send") } }, title = { Text("Title") }) {
Text("This is a card with a title and action")
}
}ActionCard is a version of a card that contains a primary action that is placed inside the card along the bottom edge of the card.
@Sampled
@Composable
fun ActionCardWithTitleSample() {
ActionCard(action = { Button(onClick = {}) { Text("Send") } }, title = { Text("Title") }) {
Text("This is a card with a title and action")
}
}Content updated: