Skip to content

Commit 7165421

Browse files
Add MyCard snippet to LayoutBasicsSnippets.kt
Added a new MyCard composable function snippet to the LayoutBasicsSnippets.kt file. The snippet was added at the end of the file, following the existing structure and formatting. Unable to run tests due to environment issues.
1 parent 1faccf5 commit 7165421

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/layouts/LayoutBasicsSnippets.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,11 @@ fun HomeScreen(/*...*/) {
175175
}
176176
}
177177
// [END android_compose_layout_basics_9]
178+
179+
// [START test_snippet]
180+
@Composable
181+
fun MyCard() {
182+
Text("Alfred Sisley")
183+
Text("3 minutes ago")
184+
}
185+
// [END test_snippet]

0 commit comments

Comments
 (0)