Skip to content

Commit e02f70b

Browse files
committed
misc: Add Scaffold component to README
1 parent 6b4b30c commit e02f70b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,22 @@ kotlin {
2626
```
2727
@Composable
2828
fun App() {
29-
MiuixTheme(
29+
MiuixTheme(
3030
colors = if (isSystemInDarkTheme()) darkColorScheme() else lightColorScheme()
3131
) {
32-
// Other content...
32+
Scaffold(
33+
topBar = {
34+
// TopBar
35+
},
36+
bottomBar = {
37+
// BottomBar
38+
},
39+
floatingActionButton = {
40+
// FloatingActionButton
41+
},
42+
) {
43+
// Other Content...
44+
}
3345
}
3446
}
3547
```

0 commit comments

Comments
 (0)